<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message_noclick="No part of this site may be reproduced in any form or by any means without prior permission.\nAll photographs are copyrighted Giovan Battista D'Achille.";

function clickIE(e) {
if (document.all) {
alert(message_noclick);
return false;
}
}

function clickNS(e) {
if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {
alert(message_noclick);
return false;
}
}
}

if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS;
}
else {
document.onmouseup=clickNS;
document.oncontextmenu=clickIE;
}
// --> 

<!--
//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
}
// --> 

<!--
/****************************************************
Author: Eric King
Url: http://redrival.com/eak/index.shtml
This script is free to use as long as this info is left in>
Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
****************************************************/
newWindow=null;
function NewWindow(mypage,myname,w,h)
{
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:100;
//LeftPosition=0;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:100;
TopPosition=0;
//settings='fullscreen=yes,scrollbar=yes';
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,location=no,directories=no,status=yes,menubar=no,toolbar=yes,resizable=no,channelmode=no';
newWindow=window.open(mypage,myname,settings);
//newWindow.moveTo(0,0);
//newWindow.resizeTo(screen.availWidth,screen.availHeight);
  //Creation de la propriete creator permettant de referencer 
  //la fenetre source
newWindow.creator=self;
oldwindow=window.self;
oldwindow.opener=window.self
//oldwindow.close();
}
// -->

<!--
/****************************************************
Author: Eric King
Url: http://redrival.com/eak/index.shtml
This script is free to use as long as this info is left in>
Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
****************************************************/
var newWindow=null;
function OpenWindow(mypage,myname,w,h)
{
//LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:100;
LeftPosition=0;
//TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:100;
TopPosition=0;
//settings='fullscreen=yes,scrollbar=yes';
h=h+0;
w=w+0;
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,channelmode=no';
newWindow=window.open(mypage,myname,settings);
//newWindow.moveTo(0,0);
//newWindow.resizeTo(screen.availWidth,screen.availHeight);
  //Creation de la propriete creator permettant de referencer 
  //la fenetre source
//newWindow.creator=self;
//oldwindow=window.self;
//oldwindow.opener=window.self
//olddwindow.close();
}
function OpenWindowScroll(mypage,myname,w,h)
{
//LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:100;
LeftPosition=0;
//TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:100;
TopPosition=0;
//settings='fullscreen=yes,scrollbar=yes';
h=h+25;
w=w+20;
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,channelmode=no';
newWindow=window.open(mypage,myname,settings);
//newWindow.moveTo(0,0);
//newWindow.resizeTo(screen.availWidth,screen.availHeight);
  //Creation de la propriete creator permettant de referencer 
  //la fenetre source
//newWindow.creator=self;
//oldwindow=window.self;
//oldwindow.opener=window.self
//olddwindow.close();
}
// -->




