 
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"
}

<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Sag tus kapali\nCtrl+Right click disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
var isnn,isie
if(navigator.appName=='Microsoft Internet Explorer') //check the browser
{  isie=true }

if(navigator.appName=='Netscape')
{  isnn=true }


function right(e) //to trap right click button 
{
	if (isnn && (e.which == 3 || e.which == 2 ))
		return false;
	else if (isie && (event.button == 2 || event.button == 3)) 
	{
		alert("Ctrl tusu ve Sag tus kapali\nCtrl+Right click disabled");
		return false;
	}
		return true;
}

function key(k)   
{
	if(isie) {
		if(event.keyCode==17 || event.keyCode==18 || event.keyCode==93)
		 {
			alert("Ctrl tusu ve Sag tus kapali\nCtrl+Right click disabled") 
			return false;
		 } 
		  
	}

 
}

if (document.layers) window.captureEvents(Event.KEYPRESS);  
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
//document.onkeydown=key;  
//document.onmousedown=right;
//document.onmouseup=right;
//window.document.layers=right;
//document.oncontextmenu=new Function("alert(message);return false")

// --> 
 
function qa_atla(s)
{

 
if (s!=='')
{
window.location.href=s;
}
}

function atla(s2)


{

 alert(s2);
if (s2!=='')
{
window.location.href=s2;
}
}

function submitform()
{
document.forms["qatechnic"].submit();
//  document.qatechnic.submit();
}

window.onload= function func1(k)  

{
disableSelection(document.body)

var t;
t=k;

if ((t==undefined)||(t=='')||(t=='NaN')){t=10;}
//window.scrollBy(0,290); // horizontal and vertical scroll increments
window.scrollBy(0,540); // horizontal and vertical scroll increments

t=t+10;
//scrolldelay = setTimeout('func1('+t+')',100); // scrolls every 100 milliseconds

//if (t>100){clearTimeout(scrolldelay);}
}

function func1s() {
//var t;
//t=i;
window.scrollBy(0,450); // horizontal and vertical scroll increments
//t=t+10;
 //scrolldelay = setTimeout('func1('+t+')',100); // scrolls every 100 milliseconds
//if (t>100){clearTimeout(scrolldelay);}

//alert(t);
 

//window.location.href = '#denemem';

 //document.getElementById('alberka').focus();
//window.location.hash='denemem';
//document.getElementByName('denemem').focus();

} 
	
 function qa_control(form)
{

var address=form.subscribe_email.value;
var hata='';
var htm='';

   var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
   if(reg.test(address) == false) {
     htm='ht';
	 alert('Wrong E-Mail Address');
	 return false
    
}
}
 
//window.onload=func1(); 
