 function kapat()
 {
 	 self.close();
 }

////////////////////////// SCRIPT 1 ///////////////////////////

if (document.images)
   {	 
   	 p1on= new Image(62,25);
     p1on.src="images\\dizayn_08_02.gif";  

     p1off= new Image(62,25);
     p1off.src="images\\dizayn_08_01.gif";
	 
	 p2on= new Image(71,25);
     p2on.src="images\\dizayn_09_02.gif";  

     p2off= new Image(71,25);
     p2off.src="images\\dizayn_09_01.gif";
	 
	 p3on= new Image(74,25);
     p3on.src="images\\dizayn_10_02.gif";  

     p3off= new Image(74,25);
     p3off.src="images\\dizayn_10_01.gif";
	 
	 p4on= new Image(115,25);
     p4on.src="images\\dizayn_11_02.gif";  

     p4off= new Image(115,25);
     p4off.src="images\\dizayn_11_01.gif";
	 
	 p5on= new Image(109,25);
     p5on.src="images\\dizayn_12_02.gif";  

     p5off= new Image(109,25);
     p5off.src="images\\dizayn_12_01.gif";
	 
	 p6on= new Image(57,25);
     p6on.src="images\\dizayn_13_02.gif";  

     p6off= new Image(57,25);
     p6off.src="images\\dizayn_13_01.gif";
	 
	 p7on= new Image(111,21);
     p7on.src="images\\dizayn_20_02.gif";  

     p7off= new Image(111,21);
     p7off.src="images\\dizayn_20_01.gif";
	 
	 p8on= new Image(93,25);
     p8on.src="images\\dizayn_25_02.gif";  

     p8off= new Image(93,21);
     p8off.src="images\\dizayn_25_01.gif";
	 
	 p9on= new Image(61,25);
     p9on.src="images\\dizayn_26_02.gif";  

     p9off= new Image(61,21);
     p9off.src="images\\dizayn_26_01.gif";
	 
	 p10on= new Image(87,25);
     p10on.src="images\\dizayn_30_02.gif";  

     p10off= new Image(87,25);
     p10off.src="images\\dizayn_30_01.gif";
	 
	 p11on= new Image(93,25);
     p11on.src="images\\dizayn_31_02.gif";  

     p11off= new Image(93,25);
     p11off.src="images\\dizayn_31_01.gif";
	 
	 p12on= new Image(166,25);
     p12on.src="images\\dizayn_32_02.gif";  

     p12off= new Image(166,25);
     p12off.src="images\\dizayn_32_01.gif";
	 
	 p13on= new Image(169,25);
     p13on.src="images\\dizayn_33_02.gif";  

     p13off= new Image(169,25);
     p13off.src="images\\dizayn_33_01.gif";
	 
	 p14on= new Image(88,25);
     p14on.src="images\\dizayn_34_02.gif";  

     p14off= new Image(88,25);
     p14off.src="images\\dizayn_34_01.gif";
	 
	 p15on= new Image(57,25);
     p15on.src="images\\dizayn_35_02.gif";  

     p15off= new Image(57,25);
     p15off.src="images\\dizayn_35_01.gif";
	 
   }

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"


