 function kapat()
 {
 	 self.close();
 }

////////////////////////// SCRIPT 1 ///////////////////////////

if (document.images)
   {	 
   	 p1on= new Image(128,35);
     p1on.src="images\\dsn_09_02.png";  

     p1off= new Image(128,35);
     p1off.src="images\\dsn_09_01.png";
	 
	 p2on= new Image(127,35);
     p2on.src="images\\dsn_10_02.png";  

     p2off= new Image(127,35);
     p2off.src="images\\dsn_10_01.png";
	 
	 p3on= new Image(127,35);
     p3on.src="images\\dsn_11_02.png";  

     p3off= new Image(127,35);
     p3off.src="images\\dsn_11_01.png";
	 
	 p4on= new Image(129,35);
     p4on.src="images\\dsn_12_02.png";  

     p4off= new Image(129,35);
     p4off.src="images\\dsn_12_01.png";
	 
	 u1on= new Image(240,145);
     u1on.src="images\\model_01_02.jpg";  
     u1off= new Image(240,145);
     u1off.src="images\\model_01.jpg";
	 
	 u2on= new Image(240,145);
     u2on.src="images\\model_02_02.jpg";  
     u2off= new Image(240,145);
     u2off.src="images\\model_02.jpg";
	 
	 u3on= new Image(240,145);
     u3on.src="images\\model_03_02.jpg";  
     u3off= new Image(240,145);
     u3off.src="images\\model_03.jpg";
	 
	 u4on= new Image(240,145);
     u4on.src="images\\model_04_02.jpg";  
     u4off= new Image(240,145);
     u4off.src="images\\model_04.jpg";
	 
	 u5on= new Image(240,145);
     u5on.src="images\\model_05_02.jpg";  
     u5off= new Image(240,145);
     u5off.src="images\\model_05.jpg";
	 
	 u6on= new Image(240,145);
     u6on.src="images\\model_06_02.jpg";  
     u6off= new Image(240,145);
     u6off.src="images\\model_06.jpg";
	 
	 u7on= new Image(240,145);
     u7on.src="images\\model_07_02.jpg";  
     u7off= new Image(240,145);
     u7off.src="images\\model_07.jpg";
	 
	 u8on= new Image(240,145);
     u8on.src="images\\model_08_02.jpg";  
     u8off= new Image(240,145);
     u8off.src="images\\model_08.jpg";
	 
	 u9on= new Image(240,145);
     u9on.src="images\\model_09_02.jpg";  
     u9off= new Image(240,145);
     u9off.src="images\\model_09.jpg";
	 
	 u10on= new Image(240,145);
     u10on.src="images\\model_10_02.jpg";  
     u10off= new Image(240,145);
     u10off.src="images\\model_10.jpg";
	 
	 u11on= new Image(240,145);
     u11on.src="images\\model_11_02.jpg";  
     u11off= new Image(240,145);
     u11off.src="images\\model_11.jpg";
	 
	 u12on= new Image(240,145);
     u12on.src="images\\model_12_02.jpg";  
     u12off= new Image(240,145);
     u12off.src="images\\model_12.jpg";
	 
	 u13on= new Image(240,145);
     u13on.src="images\\model_13_02.jpg";  
     u13off= new Image(240,145);
     u13off.src="images\\model_13.jpg";
	 
	 u14on= new Image(240,145);
     u14on.src="images\\model_14_02.jpg";  
     u14off= new Image(240,145);
     u14off.src="images\\model_14.jpg";
	 
	 u15on= new Image(240,145);
     u15on.src="images\\model_15_02.jpg";  
     u15off= new Image(240,145);
     u15off.src="images\\model_15.jpg";
	 
	 u16on= new Image(240,145);
     u16on.src="images\\model_16_02.jpg";  
     u16off= new Image(240,145);
     u16off.src="images\\model_16.jpg";
	 
	 u17on= new Image(240,145);
     u17on.src="images\\model_17_02.jpg";  
     u17off= new Image(240,145);
     u17off.src="images\\model_17.jpg";
	 
	 u18on= new Image(240,145);
     u18on.src="images\\model_18_02.jpg";  
     u18off= new Image(240,145);
     u18off.src="images\\model_18.jpg";
	 
	 u19on= new Image(240,145);
     u19on.src="images\\model_19_02.jpg";  
     u19off= new Image(240,145);
     u19off.src="images\\model_19.jpg";
	 
	 u20on= new Image(240,145);
     u20on.src="images\\model_20_02.jpg";  
     u20off= new Image(240,145);
     u20off.src="images\\model_20.jpg";
	 
	 u30on= new Image(240,145);
     u30on.src="images\\model_30_02.jpg";
     u30ff= new Image(240,145);
     u30off.src="images\\model_30.jpg";
	 
	 u31on= new Image(240,145);
     u31on.src="images\\model_31_02.jpg";  
     u31ff= new Image(240,145);
     u31off.src="images\\model_31.jpg";
	 
	 u32on= new Image(240,145);
     u32on.src="images\\model_32_02.jpg";  
     u32off= new Image(240,145);
     u32off.src="images\\model_32.jpg";
	 
	 u33on= new Image(240,145);
     u33on.src="images\\model_33_02.jpg";  
     u33off= new Image(240,145);
     u33off.src="images\\model_33.jpg";
	 
	 u34on= new Image(240,145);
     u34on.src="images\\model_34_02.jpg";  
     u34off= new Image(240,145);
     u34off.src="images\\model_34.jpg";
	 
	 u35on= new Image(240,145);
     u35on.src="images\\model_35_02.jpg";  
     u35off= new Image(240,145);
     u35off.src="images\\model_35.jpg";
	 
	 u36on= new Image(240,145);
     u36on.src="images\\model_36_02.jpg";  
     u36off= new Image(240,145);
     u36off.src="images\\model_36.jpg";
	 
	 u37on= new Image(240,145);
     u37on.src="images\\model_37_02.jpg";  
     u37off= new Image(240,145);
     u37off.src="images\\model_37.jpg";
	 
	 u38on= new Image(240,145);
     u38on.src="images\\model_38_02.jpg";  
     u38off= new Image(240,145);
     u38off.src="images\\model_38.jpg";
	 
	 u39on= new Image(240,145);
     u39on.src="images\\model_39_02.jpg";  
     u39off= new Image(240,145);
     u39off.src="images\\model_39.jpg";
	 
	 u40on= new Image(240,145);
     u40on.src="images\\model_40_02.jpg";  
     u40off= new Image(240,145);
     u40off.src="images\\model_40.jpg";
	 
	 
	 c1on= new Image(78,10);
     c1on.src="images\\dsn_29_02.jpg";  
	 c1off= new Image(78,10);
     c1off.src="images\\dsn_29.jpg";
   }

function lightup(imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function turnoff(imgName)
 {
   if (document.images)
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }
 

////////////////////////// SCRIPT 2 ///////////////////////////

if (window.Event) // Only Netscape will have the CAPITAL E.
  document.captureEvents(Event.MOUSEUP); // catch the mouse up event

function nocontextmenu()  // this function only applies to IE4, ignored otherwise.
{
	event.cancelBubble = true
	event.returnValue = false;

	return false;
}

function norightclick(e)	// This function is used by all others
{
	if (window.Event)	// again, IE or NAV?
	{
		if (e.which == 2 || e.which == 3)
			return false;
	}
	else
		if (event.button == 2 || event.button == 3)
		{
			event.cancelBubble = true
			event.returnValue = false;
			return false;
		}
	
}

document.oncontextmenu = nocontextmenu;		// for IE5+
document.onmousedown = norightclick;		// for all others



////////////////////////// SCRIPT 3 (No Selecting) ///////////////////////////


function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
	target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
	target.style.MozUserSelect="none"
else //All other route (ie: Opera)
	target.onmousedown=function(){return false}
target.style.cursor = "default"
}

//Sample usages
//disableSelection(document.body) //Disable text selection on entire body
//disableSelection(document.getElementById("mydiv")) //Disable text selection on element with id="mydiv"



