
function drawHeader( )
{
		document.write
		(
			''+
			'<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="733" height="146" id="home">' +
			'<PARAM name="allowScriptAccess" value="sameDomain" />' +
			'<PARAM name="movie" value="files/header.swf" />' +
			'<PARAM name="top" value="false" />' +
			'<PARAM name="quality" value="high" />' +
			'<PARAM name="devicefont" value="true" />' +
			'<param name="scale" value="noscale" />' +
			'<param name="wmode" value="opaque" />' +
			'<param name="menu" value="false" />' +
			'<EMBED scale="noscale" wmode="opaque" src="files/header.swf" MENU="false" QUALITY="high" DEVICEFONT="true" width="733" height="146" NAME="header" ALLOWSCRIPTACCESS="sameDomain" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" />' +
			'</OBJECT>'
		);
}



var sHov = '-h',
	ndomb=false;
function sNav(o,b){
	if(!o.className || ndomb)return;
	try{
		if(o.className.indexOf(sHov)==-1 && b)
			o.className = o.className + sHov;
		else if(o.className.indexOf(sHov)>=0 && !b)
			o.className = o.className.substr(0,o.className.lastIndexOf(sHov));
	}catch(e){
		if(e.toString().indexOf("TypeError")>=0){
			//no properties, dom is broke
			ndomb=true;
		}
	}
}
function cache_res(){ 
	var args = cache_res.arguments;
	document.imageArray = new Array(args.length);
	var buff="";
	for(var i=0; i<args.length; i++){
		document.imageArray[i] = new Image();
		document.imageArray[i].src = args[i];
		buff += args[i];
	}
}
function cache_all(){
	if(navigator.appName.indexOf("Internet Explorer")==-1)return;

	
}

function SetupC2(){
	try{cache_all();}catch(e){;}
	init();
}

function findObj(theObj, theDoc){
	var p, i, foundObj;
	if(!theDoc) theDoc = document;
	if( (p = theObj.indexOf("?")) > 0 && parent.frames.length) {
		theDoc = parent.frames[theObj.substring(p+1)].document;
		theObj = theObj.substring(0,p);
	}
	if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
		for (i=0; !foundObj && i < theDoc.forms.length; i++) 
			foundObj = theDoc.forms[i][theObj];
	for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
		foundObj = findObj(theObj,theDoc.layers[i].document);
	if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj); 
	return foundObj;
}


