<!-- Begin
var message="You may not right mouse click this page.";
if (navigator.appName == 'Microsoft Internet Explorer'){
function NOclickIE(e) {
if (event.button == 2 || event.button == 3) {
alert(message);
return false;
}
return true;
}
document.onmousedown=NOclickIE;
document.onmouseup=NOclickIE;
window.onmousedown=NOclickIE;
window.onmouseup=NOclickIE;
}
else {
function NOclickNN(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=NOclickNN; }
document.oncontextmenu=new Function("alert(message);return false")
}

function copyrightLink() {
	Request("copyright.html");
}

function disclaimerLink() {
	Request("disclaimer.html");
}

function privacyLink() {
	Request("privacy.html");
}

function copyrightLinkInner() {
	Request("../copyright.html");
}

function disclaimerLinkInner() {
	Request("../disclaimer.html");
}

function privacyLinkInner() {
	Request("../privacy.html");
}

function Request(page)
{
    document.getElementById('content1').innerHTML = 'Loading...';
    new Ajax.Updater(
    	'content1', 
    	page, 
    	{
    	asynchronous:true, 
    	evalScripts:true,
    	method:'get',
        onComplete: showResponse
    	}
    );
}

function showResponse(req)
{
	$('content1').innerHTML = req.responseText;
}

function staticLoadScript(url)
{
   document.write('<script src="', url, '" type="text/JavaScript"><\/script>');
}

function showTutorial(tutName) {
	RequestTutorial("../tutorials/"+tutName+".html");
}

function RequestTutorial(page)
{
    document.getElementById('tutright').innerHTML = 'Loading tutorial please wait...';
    new Ajax.Updater(
    	'tutright', 
    	page, 
    	{
    	asynchronous:true, 
    	evalScripts:true,
    	method:'get',
        onComplete: showTutorialResponse
    	}
    );
}

function showTutorialResponse(req)
{
	$('tutright').innerHTML = req.responseText;
}

//  End -->
