function open_universiteli()
	{
		popup_withscroll("swf/universite", "", 680, 700);
	}
	
function open10()
	{
		popup("swf/rotator_content/10numara_pp.jpg", "", 920, 482);
	}

function open_insert()
	{
		popup_withscroll("swf/macinsert", "", 960, 600);
	}

function open_karnehediyesi()
	{
		popup_withscroll("swf/karnehediyesi", "", 880, 600);
	}
	
function open_form(page)
	{
		popup_withscroll("../forms/"+page+".php", "", 580, 480);
	}

function xl_aktivasyon()
	{
		popup_withscroll("../forms/xl_aktivasyon.php", "", 550, 500);
	}

function apple_suggest()
	{
		popup("../forms/apple_suggest.php", "", 450, 500);
	}

function form_cs5relansman()
	{
		popup("../../forms/cs5_relansman.php", "", 550, 550);
	}
	
function bilkom_ebulten()
	{
		popup("../forms/bilkom_ebulten.php", "", 450, 350);
	}

function bilkom_bayi()
	{
		popup_withscroll("../forms/bilkom_bayilik.php", "", 560, 670);
	}
	
	
function apple_workshop()
	{
		popup_withscroll("../forms/apple_workshop_poster.php", "", 830, 600);
	}
	
function touchlanin()
	{
		popup_withscroll("swf/touchlanin", "", 1100, 700);
	}
	


//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();
}

	