//var b;
function cam(url ,title, feature){
	b=window.open(url ,title , feature);
}

//pencere ac
var feature;
var a;

function camac(url, width, hight,ft){
	if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4)) {
	var harea = parseInt(screen.availHeight)/2;
	var varea = parseInt(screen.availWidth)*3/2; 
		if (navigator.platform.indexOf('Mac') !=-1){
			harea -= 32;
			varea -= 22;
		}else
			if (navigator.platform.indexOf('Win') !=-1){
					harea -= 70;
					varea -= 8;
		} 
	//title="a";
	a=cam(url, "guidetoturkey", feature); 
	}else 
		if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
			switch (ft){
				case  "1" :
							feature ="toolbar=no,menubar=no,location=no,scrollbars=yes,resize=yes,width=" + width + ",height=" + hight  + ",left=30,top=160";
							break;
				case  "2" :
							feature ="toolbar=no,menubar=no,location=no,scrollbars=no,resize=no,width=" + width + ",height=" + hight  + ",left=30,top=160";
							break;
				case  "3" :
							feature ="toolbar=yes,menubar=no,location=no,scrollbars=yes,resize=yes,width=" + width + ",height=" + hight  + ",left=30,top=160";
							break;
				case  "4" ://Weatherler icin
							feature ="toolbar=no,menubar=no,location=no,scrollbars=no,resize=no,width=" + width + ",height=" + hight  + ",left=204,top=150";
							break;
			}
		//title="a";
		a=cam(url, "guidetoturkey", feature); 
		}else {
			//a=cam("indexz.htm", "TheWindow", "toolbar=yes,menubar=no,location=no,scrollbars=yes,resize=yes,width=500,height=240,left=0,top=0,screenX=0,screenY=0");
			//feature="toolbar=yes,menubar=no,location=no,scrollbars=yes,resize=yes,width=" + width + ",height=" + hight  + ",left=0,top=0,screenX=0,screenY=0";
			a=cam(url, "guidetoturkey", feature); 
		}
	//window.open(newURL, newName, newFeatures);
}

//

