//loader swf
function swf(varurl,width,height)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8" width="' + width + '"  height="' + height + '">\n');
	document.write(' <param name="movie" value="' + varurl + '">\n');
	document.write('<param name="wmode" value="transparent">\n');
	document.write(' <param name="quality" value="high">\n');
	document.write(' <embed src="' + varurl + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '"  height="' + height + '" wmode="transparent"></embed></object>\n');
	document.write('</object>\n');
}


/*--------------------*/
/* http://support.internetconnection.net/CODE_LIBRARY/Javascript_Show_Hide.shtml*/

//here you place the ids of every element you want.
var ids=new Array('a1','a2','a3','a4','a5');

function switchid(id){	
	hideallids();
	showdiv(id);
}

function hideallids(){
	//loop through the array and hide each element by id
	for (var i=0;i<ids.length;i++){
		hidediv(ids[i]);
	}		  
}

function hidediv(id) {
	//safe function to hide an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'none';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'none';
		}
		else { // IE 4
			document.all.id.style.display = 'none';
		}
	}
}

function showdiv(id) {
	//safe function to show an element with a specified id
		  
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'inline-block';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'block';
		}
		else { // IE 4
			document.all.id.style.display = 'block';
		}
	}
}


