
/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Ultimater, Mr J :: http://www.webdeveloper.com/forum/showthread.php?t=77389 */

function toggleMe(a){
  var e=document.getElementById(a);
  if(!e)return true;
  if(e.style.display=="none"){
    e.style.display="block"
  } else {
    e.style.display="none"
  }
  return true;
}



// New Win Fucntion
var nwin = null;
function newwin(url,w,h) {
	if (nwin && !nwin.closed)
	nwin.close();
	setTimeout("wopen(\"" + url + "\"," + w + "," + h + ");",200);
}
function wopen(url,w,h) {
	nwin = window.open("" + url + "","WarbirdsofIndia","width=" + w + ",height=" + h + ",scrollbars=yes,menubar=0,toolbar=0,resizable=yes,status=no,directories=0,top=30,left=30");
}

// New Win No Scroll Fucntion
var nwin = null;
function newwinns(url,w,h) {
	if (nwin && !nwin.closed)
	nwin.close();
	setTimeout("wopen1(\"" + url + "\"," + w + "," + h + ");",200);
}
function wopen1(url,w,h) {
	nwin = window.open("" + url + "","WarbirdsofIndia","width=" + w + ",height=" + h + ",scrollbars=no,menubar=0,toolbar=0,resizable=yes,status=no,directories=0,top=30,left=30");
} 



function mOvr(src,clrOver){ 
	if (!src.contains(event.fromElement)){ 
		src.style.cursor = 'hand'; 
		src.bgColor = clrOver; 
	} 
} 
function mOut(src,clrIn){ 
	if (!src.contains(event.toElement)){ 
		src.style.cursor = 'default'; 
		src.bgColor = clrIn; 
	} 
} 
function mClk(src){ 
	if(event.srcElement.tagName=='TD')
		src.children.tags('A')[0].click();
}
