//var sNavImgFileExtension = ".gif";
//var sNavImgFileHoverSuffix = "_mo";
//var sNavElementPrefix = "link_";

function setWindowStatus(sMessage, bPrefix) {
	window.status= bPrefix ? sWindowStatusPrefix + sMessage : sMessage;
}

function goTo(sUrl, bNewWindow, sTitle, sAttributes, iWidth, iHeight) {
	if (bNewWindow) {
		newWin = window.open(sUrl, sTitle, sAttributes);
		
		// => visit http://www.quirksmode.org
		
		if (self.innerHeight) 
			// all except Explorer
		{		
			//popW = self.innerWidth;
			//popH = self.innerHeight;
			
			popW = screen.availWidth;
			popH = screen.availHeight;					
		}
		else if (document.documentElement && document.documentElement.clientHeight)
			// Explorer 6 Strict Mode
		{
			popW = document.documentElement.clientWidth;
			popH = document.documentElement.clientHeight;
		}
		else if (document.body) 
			// other Explorers
		{
			popW = document.body.clientWidth;
			popH = document.body.clientHeight;
		}

		var leftPos = (popW-iWidth)/2, topPos = (popH-iHeight)/2;
		newWin.moveTo(leftPos, topPos);

	} else {
		document.location=sUrl;
	}
}

function zg_logo() {
	var str='<object width="50" height="15" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="embed_zg">';
	str += '<param name="allowScriptAccess" value="sameDomain" />';
	str += '<param name="movie" value="wp-content/themes/default_08/logo_zg.swf" />';
	str += '<param name="quality" value="best" />';
	str += '<param name="menu" value="false" />';
	str += '<param name="wmode" value="transparent" />';
	str += '<param name="scale" value="noscale" />';
	str += '<embed id="embed_zg" src="wp-content/themes/default_08/logo_zg.swf" allowScriptAccess="sameDomain" wmode="transparent" scale="noscale" quality="high" menu="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" name="header" />';
	str += '</object>';	
	document.write(str);	
}