<!-- begin

var slideshow_button 	= "no"		// slideshow button yes/no
var close_button 	= "yes"		// close button yes/no
var print_button 	= "yes"		// print button yes/no
var right_click_on	= "yes"		// popup right click protection on
var border_color	= "D1D0D0"	// picture outline color
var background_color	= "327CE5"	// viewer background color
var viewer	 	= "no"		// yes/full screen  or  no/popup mode
var zoom	 	= "no"		// show popup zoom links
var right_click_text	= " TEHNODENT "	// text for the right click protection
var view_width 		= 500		// gallery popup width
var view_height 	= 410		// gallery popup height
var slideshow_width 	= 500		// slideshow popup window width
var slideshow_height 	= 410		// slideshow popup window height
var FAQ_width 		= 550		// faq window width
var FAQ_height 		= 425		// faq window height

// image viewer

function popUp(URL) {
   if (viewer == "no") {
var look='toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
}
else 
if (viewer == "yes") {
popwin=window.open("","")
}
popwin.document.open()
popwin.document.write('<html><head><title>TEHNODENT rotor packages for KAVO turbines</title>')
popwin.document.write('<link rel=StyleSheet href="css/menu_style.css" type="text/css" media="screen">')
   if (right_click_on == "yes") {
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 background="pic/pp_bgrd.jpg" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0"><tr><td>')

// zoom

   if (zoom == "yes") {
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("<nobr><a href=\"#\" onMouseOver=\"show.style.zoom='1.2'\" onMouseOut=\"show.style.zoom='1'\"><img src=\"pic/zoom-1.jpg\" border=\"0\"></a>");
popwin.document.write("<a href=\"#\" onMouseOver=\"show.style.zoom='1.3'\" onMouseOut=\"show.style.zoom='1'\"><img src=\"pic/zoom-2.jpg\" border=\"0\"></a>");
popwin.document.write("<a href=\"#\" onMouseOver=\"show.style.zoom='1.5'\" onMouseOut=\"show.style.zoom='1'\"><img src=\"pic/zoom-3.jpg\" border=\"0\"></a>");
popwin.document.write("<img src=\"pic/spacer.gif\" height=\"24\" width=\"40\"></nobr>");
}}
popwin.document.write('<br></td></tr></table>')

popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">')
popwin.document.write('<tr><td align="center" valign="top">')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#' + border_color + '" style="border-collapse: collapse">')
popwin.document.write('<tr><td><img src="'+URL+'" name="show"><br>')
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 == "yes") {
popwin.document.write('</td><td>')
popwin.document.write('<form style="margin: 0px"><input type="button" value="&nbsp;&nbsp;Close&nbsp;&nbsp;" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups" onClick=\'self.close()\'>&nbsp;</form>')
}
   if (print_button == "yes") {
popwin.document.write('</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>')
popwin.document.write('<form style="margin: 0px"><input type="button" value="&nbsp;&nbsp;&nbsp;&nbsp;Print&nbsp;&nbsp;&nbsp;&nbsp;" onClick=\'window.print()\' class="button-popups" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'">&nbsp;</form>')
}

   if (slideshow_button == "yes") {
popwin.document.write('</td><td>&nbsp;&nbsp;&nbsp;&nbsp;')
popwin.document.write('<form action="slsh_news2.htm" style="margin: 0px"><input type="submit" value="Slide Show" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups">&nbsp;</form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write("</div>");

popwin.document.write('</td></tr></table>')
popwin.document.write('</body></html>')
popwin.document.close()
}

// slideshow popup

function popUpSlideshow(URL) {
day = new Date();
id = day.getTime();

   if (viewer == "no") {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+slideshow_width+',height='+slideshow_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}

// faq popup

function popUpFAQ(URL) {
day = new Date();
id = day.getTime();

   if (viewer == "no") {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+FAQ_width+',height='+FAQ_height+'');");
}
else 
if (viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}

//  end -->
