
function popUpDinle(code,artist,song,productType,extension){		
	previewWindow=window.open('yukle_.php?content='+code+'&artist='+artist+'&song='+song+'&productType='+productType+'&e='+extension, "pencere", "left=200,top=100,width=600,height=253,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpDinleDk(code,artist,song,productType,extension){		
	previewWindow=window.open('yukledk.php?content='+code+'&artist='+artist+'&song='+song+'&productType='+productType+'&e='+extension, "pencere", "left=200,top=100,width=600,height=253,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpDinleCf(code,artist,song,productType,extension){		
	previewWindow=window.open('yuklecf.php?content='+code+'&artist='+artist+'&song='+song+'&productType='+productType+'&e='+extension, "pencere", "left=200,top=100,width=600,height=253,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpKatilim(){		
	previewWindow=window.open('katilim.html', "pencere", "left=200,top=100,width=600,height=450,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpKatilimMini(){		
	previewWindow=window.open('katilimmini.html', "pencere", "left=200,top=100,width=600,height=600,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpKatilim2(){		
	previewWindow=window.open('katilim2.html', "pencere", "left=200,top=100,width=600,height=450,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpAbonelik(){		
	previewWindow=window.open('abonelik.html', "pencere", "left=200,top=100,width=600,height=300,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpAbonelik2(){		
	previewWindow=window.open('abonelik2.html', "pencere", "left=200,top=100,width=600,height=400,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpAbonelik3(){		
	previewWindow=window.open('abonelik3.html', "pencere", "left=200,top=100,width=600,height=300,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpAbonelik4(){		
	previewWindow=window.open('abonelik4.html', "pencere", "left=200,top=100,width=600,height=300,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpBmw(){		
	previewWindow=window.open('bmwkazanan.html', "pencere2", "left=0,top=0,width=520,height=520,resizable=no,status=no,scrollbars=no");
	previewWindow.focus();
}

function popUpMiniKazanan(){		
	previewWindow=window.open('minikazanan.html', "pencere2", "left=0,top=0,width=820,height=750,resizable=no,status=no,scrollbars=yes");
	previewWindow.focus();
}

function poplink(msg,keyword){
	var content =
			'<table border="1" cellpadding=0 cellspacing=0  bordercolor="#111111" width=200 height=35 bgcolor="#99CCFF" style="border-collapse: collapse">'+
				'<tr><td width="200" height="38">'+
					'<FONT COLOR=#4A4A4A face=verdana SIZE=1><b>'+msg+'</b><center><div align="left">'+
						'<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="100%" id="AutoNumber1" bgcolor="#FFFFFF">'+
							'<tr><td width="100%" height="100%" valign=top>'+
								'<FONT COLOR=#005572 face=verdana SIZE=1>'+
									'<p align="center">Bu ürün için <b>'+msg+'</b> yaz <b>'+service_number+'</b>e gönder (Turkcell kullanıcıları için 1,99 TL,Vodafone kullanıcıları için 3,6 TL, Avea kulllanıcıları için 6,4 TL)'+
								'</font>'+
							'</td></tr>'+
						'</table></div></center>'+
					'</font>'+
				'</td></tr>'+
			'</table>';

	if (domok){
	  	document.getElementById("topdecklink").innerHTML = content;
	  	skn.visibility = "visible";
  	}
}

function poplinkNew(msg,keyword){
	var content =
			'<table border="1" cellpadding=0 cellspacing=0  bordercolor="#111111" width=200 height=35 bgcolor="#F26D2E" style="border-collapse: collapse">'+
				'<tr><td width="200" height="38">'+
					'<center><div align="left">'+
						'<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="100%" id="AutoNumber1" bgcolor="#FFFFFF">'+
							'<tr><td width="100%" height="100%" valign=top>'+
								'<FONT COLOR=#000000 face="verdana" SIZE=1>'+
									'<p align="center">Bu ürün için <FONT COLOR=#F26D2E face="verdana" SIZE=1><b>'+msg+'</b></font> yaz <b>'+service_number+'</b>e gönder (Turkcell kullanıcıları için 1,99 TL,Vodafone kullanıcıları için 3,6 TL, Avea kullanıcıları için 6,4 TL)'+
								'</font>'+
							'</td></tr>'+
						'</table></div></center>'+
					'</font>'+
				'</td></tr>'+
			'</table>';
	

	if (domok){
	  	document.getElementById("topdecklink").innerHTML = content;
	  	skn.visibility = "visible";
  	}
}

function poplinkSub(){
	var content =
			'<table border="1" cellpadding=0 cellspacing=0  bordercolor="#111111" width=200 height=35 bgcolor="#99CCFF" style="border-collapse: collapse">'+
				'<tr><td width="200" height="38">'+
					'<FONT COLOR=#4A4A4A face=verdana SIZE=1><b></b><center><div align="left">'+
						'<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="100%" id="AutoNumber1" bgcolor="#FFFFFF">'+
							'<tr><td width="100%" height="100%" valign=top>'+
								'<FONT COLOR=#005572 face=verdana SIZE=1>'+
									'<p align="center">Bu ürünü indirmek için resmi tıkla,'+
									'<br>açılan pencerede <b>Cebine İndir</b> butonunu tıkla'+
								'</font>'+
							'</td></tr>'+
						'</table></div></center>'+
					'</font>'+
				'</td></tr>'+
			'</table>';

	if (domok){
	  	document.getElementById("topdecklink").innerHTML = content;
	  	skn.visibility = "visible";
  	}
}

function get_mouse(e){
	
	var x = (navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x+document.body.scrollLeft;
	var y = (navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y+document.body.scrollTop;
	
	if (x<60)
		skn.left = 0
	else if(x>document.body.clientWidth-160)
		skn.left = document.body.clientWidth-200
	else 
		skn.left = x - 60;

	skn.top = y+20;
}

function killlink(){
	if (domok)
  		skn.visibility = "hidden";
}
