<!--

// Copyright 2007 Notion Age Pte. Ltd. All rights reserved.


// Show Flash - Disable ActiveX Control in IE
function show_flash (filename,w,h)
{

document.write("<object type=\"application/x-shockwave-flash\" data=\""+filename+"\" width=\""+w+"\" height=\""+h+"\">"+
"<param name=\"movie\" value=\""+filename+"\">"+
"<param name=\"quality\" value=\"high\">"+
"<param name=\"wmode\" value=\"transparent\">"+
"<param name=\"wmode\" value=\"opaque\">"+
"</object>");

}

// Disable Right Click
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}


// Open Pop Up Window
function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

var win = null;
function NewWindow(mypage,myname,w,h,scroll,resize,statusbar){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable='+resize+',status='+statusbar
win = window.open(mypage,myname,settings)
}


// Balance the DIV Height
function balance(div1_name,div2_name)
{
	var left_body=document.getElementById(div1_name);
	var right_body=document.getElementById(div2_name);
	left_body.style.height=Math.max(left_body.offsetHeight,right_body.offsetHeight)+'px';	
	right_body.style.height=Math.max(left_body.offsetHeight,right_body.offsetHeight)+'px';
}


-->