function migroskop()
	{
		popup("flash/migroskop/index.html", "", 1024, 680);
	}

function migroskop_kirtasiye()
	{
		popup("flash/migroskop_eylul_kirtasiye/index.html", "", 1000, 660);
	}

function acik_magazalar() 
{
    tb_show("Migros", "yilbasinda_acik_magazalar.html?height=440&width=600", null);
}

function migroskop_old()
{
    $(document).ready(function(){
	    $("a.thickbox").click();
    });
}

function open_video(video_name)
{
	tb_show("Migros","player.aspx?v="+video_name+"&height=340&width=500",null);
}

//FUNCTIONS
function popup(popup_url, popup_name, winWidth, winHeight){
		if (winWidth == 0){		
			winWidth = (screen.width-30);	
			winHeight = (screen.height-200);	
			scrL = 10;
			scrT = 50;
		}else{
			scrL = (screen.width - winWidth) / 2;
			scrT = ((screen.height - winHeight) / 2);
		}	
	
	
	  yeni = window.open(popup_url, popup_name, "width="+winWidth+",height="+winHeight+",location=0, resizable=0,scrollbars=0,top="+scrT+",left="+scrL);
	  yeni.focus();
	}

function popup_withscroll(popup_url, popup_name, winWidth, winHeight){
	if (winWidth == 0){		
		winWidth = (screen.width-30);	
		winHeight = (screen.height-200);	
		scrL = 10;
		scrT = 50;
	}else{
		scrL = (screen.width - winWidth) / 2;
		scrT = ((screen.height - winHeight) / 2);
	}	


  yeni = window.open(popup_url, popup_name, "width="+winWidth+",height="+winHeight+",location=0, resizable=1,scrollbars=1,top="+scrT+",left="+scrL);
  yeni.focus();
}

	