
function showflash() {
	var result = "";
	var frameWidth;
	var frameHeight;

	if (self.innerWidth)	{
		frameWidth = self.innerWidth;
		frameHeight = self.innerHeight;
	}	else if (document.documentElement && document.documentElement.clientWidth)	{
		frameWidth = document.documentElement.clientWidth;
		frameHeight = document.documentElement.clientHeight;
	}	else if (document.body)	{
		frameWidth = document.body.clientWidth;
		frameHeight = document.body.clientHeight;
	}



	result += "<object id='f1' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='100%' height='100%'  align='left'>";
	result += "<param name='allowScriptAccess' value='sameDomain' />";
	result += "<param name='movie' value='flag.swf?stagewidth=" + frameWidth + "&stageheight=" + frameHeight + "' />";
	result += "<param name='quality' value='high' />";
	result += "<param name='scale' value='noscale' />";
	result += "<param name='wmode' value='transparent' />";
	result += "<param name='salign' value='lt' />";
	result += "<param name='bgcolor' value='#000000' />";
	result += "<embed wmode='transparent' src='flag.swf?stagewidth=" + frameWidth + "&stageheight=" + frameHeight + "' quality='high' scale='noscale' salign='lt' bgcolor='#000000' width='100%' height='100%' name='' align='left' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";
	result += "</object>";	
	return result;
}

function init() {
	document.getElementById("vlagDiv").innerHTML = showflash();
	
	
}


function reload() {
	location.href='default.asp';
}
