function conf()
{
  if( confirm( 'Are you sure?' ) ) return true
  else return false;
}

function openAWindow2( pageToLoad, winName, width, height, center){

xposition=0; yposition=0;
if ((parseInt(navigator.appVersion) >= 4 ) &&(center)){
 xposition = (screen.width - width) / 8;
 yposition = (screen.height - height) / 3;
}

args = "width=" + width + ","
+ "height=" + height + ","
+ "location=0,"
+ "menubar=0,"
+ "resizable=0,"
+ "scrollbars=1,"
+ "status=0,"
+ "titlebar=0,"
+ "toolbar=0,"
+ "hotkeys=0,"
+ "screenx=" + xposition + "," //NN Only
+ "screeny=" + yposition + "," //NN Only
+ "left=" + xposition + "," //IE Only
+ "top=" + yposition; //IE Only

window.open( pageToLoad, winName, args );

}

function openAWindow( pageToLoad, winName, width, height, center){

xposition=0; yposition=0;
if ((parseInt(navigator.appVersion) >= 4 ) &&(center)){
 xposition = (screen.width - width) / 8;
 yposition = (screen.height - height) / 3;
}

args = "width=" + width + ","
+ "height=" + height + ","
+ "location=0,"
+ "menubar=0,"
+ "resizable=0,"
+ "scrollbars=0,"
+ "status=0,"
+ "titlebar=0,"
+ "toolbar=0,"
+ "hotkeys=0,"
+ "screenx=" + xposition + "," //NN Only
+ "screeny=" + yposition + "," //NN Only
+ "left=" + xposition + "," //IE Only
+ "top=" + yposition; //IE Only

window.open( pageToLoad, winName, args );

}

function void_() {
}

function xget(id) {
	if(document.getElementById) return document.getElementById(id);
	if(document.all) return document.all[id];
	return null;
}

function showsubmenu(url) {
	if (xget(url.id+'_submenu'))
	{
		if (xget(url.id+'_submenu').style.display=='none' || xget(url.id+'_submenu').style.display=='')
		{
			url.className='submenu_a';
			xget(url.id+'_submenu').style.display='block';
		}
		else
		{
			url.className='submenu';
			xget(url.id+'_submenu').style.display='none';
		}
	}
}

function showtab(id) {	
	if (xget('tab_1') &&  xget('tab_1_tab') && xget('tab_2') &&xget('tab_2_tab') && xget('tab_'+id) &&  xget('tab_'+id+'_tab'))
	{
		xget('tab_1').className='tab';
		xget('tab_2').className='tab';
		xget('tab_1_tab').style.display='none';
		xget('tab_2_tab').style.display='none';

		xget('tab_'+id).className='tab_a';
		xget('tab_'+id+'_tab').style.display='block';

	}
}

function showlogo(url) {
	for (i=1;i<=20;i++)
	{
		if (xget('logo_'+i+'_small') && xget('logo_'+i+'_more'))
		{		
			xget('logo_'+i+'_small').style.display='block';
			xget('logo_'+i+'_more').style.display='none';			
		}			
	}
	if (xget(url.id+'_small') && xget(url.id+'_more'))
	{
		if (xget(url.id+'_more').style.display=='none' || xget(url.id+'_more').style.display=='')
		{
			xget(url.id+'_small').style.display='none';
			xget(url.id+'_more').style.display='block';
		}
	}
}

