// JavaScript Document

function detect(){

height=window.screen.height;

width=window.screen.width;



if(width==1024 && height==768){

self.location="index-1024.html";

}else if(width==800 && height==600){

self.location="index-800.html";

}else if(width==1152 && height==864){

self.location="index-1152.html";

}else{

self.location="index-default.html";



}

}



function URL(send,tab){

if(!tab){	

if(send=="MainPage"){

	self.location='index.html?type=main';

	}else if(send=="Biyografi"){

		self.location='biyografi.html';

		}else if(send=="Kitaplar"){

			self.location='kitaplar.html';

			}else if(send=="Projeler"){

				self.location='projeler.html';

				}else if(send=="Soylesiler"){

					self.location='Soylesiler.html';

					}else if(send=='Basin'){

						self.location='basindan.html';

						}else if(send=='Foto'){

							self.location='Foto.html';

							}else if(send=='Haberler'){

								self.location='Haberler.html';

								}else if(send=='İletisim'){

									self.location='iletisim.html';

									}

}else {

	if(tab=='Aksiyon Dergisi'){

	self.location='soylesi-aksiyon-dergisi.html';

	}else if(tab=='Hürriyet Kitap Eki'){

			self.location='soylesi-hurriyet-kitap-eki.html';

		}else if(tab=="İlk Söyleşi"){

			self.location='Soylesi-ilk-soylesi.html';
		
		}else if(tab=="İlk Söyleşix"){

			self.location='x1.html';

			}else if(tab=="Bugün Gazetesi"){

				self.location='soylesi-bugun-gazetesi.html';

				}else if(tab=='News-Brüksel-Lahanası'){

					self.location='Haberler-Bruksel-Lahanasi.html';

					}

	}

					

	}

	

	function loadImage(url,width,height){

	

			window.open("../img/"+url,"image","width="+width+"height="+height);

			

		}

		function loadImage2(url,width,height){

	

			window.open("../img/"+url,"","width="+width+"height="+height);

			

		}

<!--



			

		function Check(){

			var name=document.form1.ad.value;

			var tel=document.form1.tel.value;

			var eposta=document.form1.eposta.value;

			var mesaj=document.form1.mesaj.value;

			var ileti="";

			if(name!="" && mesaj !=""){

				document.form1.submit();

				}

	if(name==""){

		alert('Lütfen İsim ve Soyisminizi yazınız.\n');

		return false;

		}

		if(mesaj==""){

			alert('Lütfen mesaj ınızı yazınız.')

			}

			}		

