//norc
//Sag Mouse
function NSclick(e) {
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) {
if (e.which == 3) {
return false;
}
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=5) {
if (e.button == 2 || e.button == 3) {
e.preventDefault();
return false;
}
}
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) {
document.onmousedown=NSclick;
document.captureEvents(Event.MOUSEDOWN);
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=5) {
document.onmouseup=NSclick;
}
if (navigator.appName=="Microsoft Internet Explorer") {
document.oncontextmenu = new Function("return false;")
}
//nots
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}


//Disable select-text script (IE4+, NS6+)- By Andy Scott
//Exclusive permission granted to Dynamic Drive to feature script
//Visit http://www.dynamicdrive.com for this script

function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
//animated open windows
function expandingWindow(website) {
var windowprops='width=100,height=100,scrollbars=yes,status=yes,resizable=yes'
var heightspeed = 10; // vertical scrolling speed (higher = slower)
var widthspeed = 10;  // horizontal scrolling speed (higher = slower)
var leftdist = 550;    // distance to left edge of window
var topdist = 10;     // distance to top edge of window

if (window.resizeTo&&navigator.userAgent.indexOf("Opera")==-1) {
var winwidth = window.screen.availWidth - leftdist;
var winheight = window.screen.availHeight - topdist;
var sizer = window.open("","","left=" + leftdist + ",top=" + topdist +","+ windowprops);
for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed)
sizer.resizeTo("1", sizeheight);
for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed)
sizer.resizeTo(sizewidth, sizeheight);
sizer.location = website;
}
else
window.open(website,'referans');
}