// JavaScript Document
function closWin()
{
	var popWin=document.getElementById("pop");
	popWin.style.visibility="hidden";
	var popWin2=document.getElementById("pop2");
	popWin2.style.visibility="hidden";	
}
function picWin(address)
{
	var popWin=document.getElementById("pop");
	popWin.style.visibility="visible";
	var popWin2=document.getElementById("pop2");
	popWin2.style.visibility="visible";
	//popWin2.style.left=Math.round(document.width/2 - 115)+"px";
//	alert(Math.round(document.width/2 - 115)+"px");
	//alert(window.innerHeight);
	popWin2.innerHTML="<table align='center'><tr><td align='right'><a href='#' style='float:right; color:#FFF; font-weight:bold;text-decoration:none;' onClick='closWin()'>Close X</a></td></tr><tr><td align='center'><img src='"+address+"' /></td></tr></table>";
}
//--------------------------------FlashPlayer-----------------------------

function chFlashPlayer()
{
		var hasReqestedVersion = DetectFlashVer(7, 0, 0);

		if (hasReqestedVersion)
			return true;
		else
			return false;
}
//--------------------------------Google-----------------------------
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17214556-1']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

