var slideshow_button 	= "hayir"		// Sunu evet/hayir
var close_button 	= "evet"		// Kapat düğmesi evet/hayir
var print_button 	= "evet"		// Yazdır düğmesi evet/hayir
var right_click_on	= "evet"		// Pencerede Mouse sağ tuş işlevi evet/hayir
var border_color	= "000000"	// Resim çerçeve rengi
var background_color	= "FFFFFF"	// Arka plan rengi
var viewer	 	= "hayir"		// evet/Tam Ekran veya hayir/Pencere

var zoom	 	= "hayir"		// Yaklaştır özelliği evet/Hayır
var right_click_text	= "Bu alanda sağ tuşun işlevi yoktur"	// Sağ tuş kitli mesajı


var view_width 		= 725		// Galeri pencere genişliği
var view_height 	= 525		// Galeri pencere yüksekliği
var slideshow_width 	= 725		// Sunu pencere genişliği
var slideshow_height 	= 525		// Sunu pencere yüksekliği
var scrollbarS		= "0"		// Kaydırma çubuğu 0 veya 1

var Tour_width 		= 725		// Tur pencere genişliği
var Tour_height 	= 450		// Tur pencere yüksekliği
var Tour_viewer	 	= "hayir"		// evet/Tam Ekran veya hayır/Pencere
var Tour_scrollbarS 	= "0"		// Tur için kaydırma çubuğu 0 veya 1


// YOU DO NOT NEED TO EDIT BELOW THIS LINE

// COPYRIGHT 2005 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law

// START IMAGE VIEWER CODE


function popUp(URL, TITLE, TEXT) {
   if (viewer == "hayir") {
var look='toolbar=0,scrollbars='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look,"TITLE","TEXT")
}
else 
if (viewer == "evet") {
popwin=window.open("","")
}
popwin.document.open()
popwin.document.write('<html><head><title>'+TITLE+' Ürün detayı</title>')
popwin.document.write('<link rel=StyleSheet href="css/casostyle.css" type="text/css" media="screen">')
   if (right_click_on == "evet") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\''+right_click_text+'\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#'+background_color+'" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">')
popwin.document.write('<TABLE cellpadding=0 cellspacing=0 border=0 width="100%" height="100%" ><tr><td align="center">')
// ZOOM CODE
   if (zoom == "evet") {
browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;
if (browser_type == "Microsoft Internet Explorer" && (browser_version >= 4) && (navigator.userAgent.indexOf("Windows") != -1)) {
popwin.document.write("<div id=\"ZOOM\">");
popwin.document.write("<a href=\"#\" onMouseOver=\"show.style.zoom='1.1'\" onMouseOut=\"show.style.zoom='1'\"><img src=\"picts/zoom-1.gif\" border=\"0\"></a>");
popwin.document.write("<a href=\"#\" onMouseOver=\"show.style.zoom='1.2'\" onMouseOut=\"show.style.zoom='1'\"><img src=\"picts/zoom-2.gif\" border=\"0\"></a>");
popwin.document.write("<a href=\"#\" onMouseOver=\"show.style.zoom='1.5'\" onMouseOut=\"show.style.zoom='1'\"><img src=\"picts/zoom-3.gif\" border=\"0\"></a>");
popwin.document.write("</div>");
}}
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#' + border_color + '" style="border-collapse: collapse"><tr><td>')
popwin.document.write('<img src="large/'+URL+'.jpg" name="show"><br>')
popwin.document.write('</td></tr></table>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td>')
popwin.document.write('<center><font color="#000000"><b>'+TITLE+ '</b><br>' +TEXT+'</font></center>')
popwin.document.write('</td></tr></table>')
popwin.document.write('<br>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td>')
   if (close_button == "evet") {
popwin.document.write('<form style="margin: 0px"><input type="button" value="Kapat" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" onClick=\'self.close()\'>&nbsp;</form>')
}
   if (slideshow_button == "evet") {
popwin.document.write('</td><td>')
popwin.document.write('<form action="slideshow.htm" style="margin: 0px"><input type="submit" value="Slideshow" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups">&nbsp;</form>')
}
   if (print_button == "evet") {
popwin.document.write('</td><td>')
popwin.document.write('<form style="margin: 0px"><input type="button" value="Yazdır" onClick=\'window.print()\' onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups">&nbsp;</form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}


// START SLIDESHOW POPUP CODE




<!-- Begin POP-UP SIZES AND OPTIONS CODE


function popUpSlideshow(URL) {

day = new Date();
id = day.getTime();
   if (viewer == "hayir") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars='+scrollbarS+',location=0,statusbar=0,menubar=0,resizable=1,width='+slideshow_width+',height='+slideshow_height+'');");
}
else 
if (viewer == "evet") {
eval("page" + id + " = window.open(URL);");
}
}




// START Tour POPUP

function popUpTour(URL) {

day = new Date();
id = day.getTime();
   if (Tour_viewer == "hayir") {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + Tour_scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+Tour_width+',height='+Tour_height+'');");
}
else 
if (Tour_viewer == "evet") {
eval("page" + id + " = window.open(URL);");
}
}






//  End -->
