function getSWF(swWidth, swHeight, swFile, swWmode)
	{
		var str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="border: 1px solid #C0C0C0" width='+swWidth+' height='+swHeight+' VIEWASTEXT>';
		str += ' <param name="movie" value="'+swFile+'" /> ';
		str += ' <param name="quality" value="high" /> ';
		// wmode = window, transparent, opaque
		str += ' <param name="wmode" value="'+swWmode+'" /> ';
		str += ' <embed src="'+swFile+'" width='+swWidth+' height='+swHeight+' quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> ';
		str += ' </object> ';
		document.write(str);
	}
function degetSWF(swWidth, swHeight, swFile, swWmode)
	{
		var str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width='+swWidth+' height='+swHeight+' VIEWASTEXT>';
		str += ' <param name="movie" value="'+swFile+'" /> ';
		str += ' <param name="quality" value="high" /> ';
		// wmode = window, transparent, opaque
		str += ' <param name="wmode" value="'+swWmode+'" /> ';
		str += ' <embed src="'+swFile+'" width='+swWidth+' height='+swHeight+' quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> ';
		str += ' </object> ';
		document.write(str);
	}
function OpenCenterPopup(URL, winName, W, H, prop)
{
	var w=screen.width;
	var h=screen.height;
	var x=parseInt((w-W)/2);
	var y=parseInt((h-H)/2);
	window.open(URL,winName,'width=' + W + ',height=' + H + ',left=' + x + ',top=' + y + prop);
}


function PopupB2Banvit()
{
	var leftPos = 0
	var topPos = 0
	if (screen) {
	leftPos = parseInt((screen.width-290)/2)
	topPos = parseInt((screen.height-239)/2)
	}
	
	window.open('B2BanvitTalep.aspx','B2Banvit','width=292,height=239,left='+leftPos+',top='+topPos+',resizable=no,status=no,scrollbars=yes')
}
function PopupAnket()
{
	var leftPos = 0
	var topPos = 0
	if (screen) {
	leftPos = parseInt((screen.width-266)/2)
	topPos = parseInt((screen.height-276)/2)
	}
	
	window.open('PopupAnket.aspx','Anket','width=266,height=292,left='+leftPos+',top='+topPos+',resizable=no,status=no,scrollbars=yes')
}

function PopupOyun()
{
	var leftPos = 0
	var topPos = 0
	if (screen)
	{
		leftPos = parseInt((screen.width-700)/2)
		topPos = parseInt((screen.height-585)/2)
	}
	window.open('/RamazanSenligi/Top10.aspx','Macera2','width=700,height=585,left='+leftPos+',top='+topPos+',resizable=no,status=no,scrollbars=yes')
}

function PopupOyunFinish()
{
	var leftPos = 0
	var topPos = 0
	if (screen)
	{
		leftPos = parseInt((screen.width-700)/2)
		topPos = parseInt((screen.height-540)/2)
	}
	window.open('KacakHindilerFinish.htm','KacakHindiler','width=700,height=540,left='+leftPos+',top='+topPos+',resizable=no,status=no,scrollbars=yes')
}

function IsoBelgePopup(id)
{
	var leftPos = 0
	var topPos = 0
	if (screen) {
	leftPos = parseInt((screen.width-285)/2)
	topPos = parseInt((screen.height-403)/2)
	}
	
	
	window.open('images/IsoBelge'+id+'.jpg','IsoBelge','width=305,height=430,left='+leftPos+',top='+topPos+',resizable=no,status=no,scrollbars=no')
}

function PopupBMTavsiye(Cat,AltCat,Id)
{
	var leftPos = 0
	var topPos = 0
	if (screen) {
	leftPos = parseInt((screen.width-350)/2)
	topPos = parseInt((screen.height-320)/2)
	}
	
	window.open('/PopupBMTavsiye.aspx?Cat='+Cat+'&AltCat='+AltCat+'&Id='+Id,'PopupBMTavsiye','width=350,height=320,left='+leftPos+',top='+topPos+',resizable=no,status=no,scrollbars=yes')

}

function PopupBMYazdir(Cat,AltCat,Id)
{
	
	var leftPos = 0
	var topPos = 0
	if (screen) {
	leftPos = parseInt((screen.width-410)/2)
	topPos = parseInt((screen.height-400)/2)
	}
	
	window.open('/PopupBMYazdir.aspx?Cat='+Cat+'&AltCat='+AltCat+'&Id='+Id,'PopupBMYazdir','width=410,height=400,left='+leftPos+',top='+topPos+',resizable=no,status=no,scrollbars=yes')

	
}

function IsOlanakAc(id)
{
	var leftPos = 0
	var topPos = 0
	if (screen) {
	leftPos = parseInt((screen.width-350)/2)
	topPos = parseInt((screen.height-320)/2)
	}
	
	window.open('/PopupIsOlanak.aspx?id='+id,'PopupIsOlanak','width=350,height=320,left='+leftPos+',top='+topPos+',resizable=no,status=no,scrollbars=yes')

}
