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();
    }
 }

function TRWin(Page) {
         Page = Page.toUpperCase(); 
         if (screen.Width < 1024) {
            var winsize = "menubar=0,status=0,toolbar=0,scrollbars=1,resizable=1,left=200,top=150,width=400,height=300";
            } 
           else {
            var winsize = "menubar=0,status=0,toolbar=0,scrollbars=1,resizable=1,left=250,top=200,width=500,height=400";
         } 
         wn  = Page.replace('.','');
         wn = wn.slice(0,wn.search('#'));
	 wnm = window.open(Page,wn,winsize);
	 wnm.focus(); 
}


function HWin(Page) {
         Page = Page.toUpperCase();
         if (screen.Width < 1024) {
            var winsize = "menubar=0,status=0,toolbar=0,scrollbars=1,resizable=1,left=100,top=200,width=580,height=250";
            } 
           else {
            var winsize = "menubar=0,status=0,toolbar=0,scrollbars=1,resizable=1,left=230,top=300,width=580,height=250";
         } 
        wn  = Page.replace('.','');
        wn = wn.slice(0,wn.search('#'));
   	wnm = window.open(Page,wn,winsize);
	wnm.focus(); 
}
function MWin(des,pic) {
       if (screen.Width < 1024) {
           var winsize = "menubar=0,status=0,toolbar=0,scrollbars=1,resizable=1,left=265,top=100,width=500,height=440"; 
         }
         else {
           var winsize = "menubar=0,status=0,toolbar=0,scrollbars=1,resizable=1,left=270,top=90,width=720,height=610"; 
        }
	var winpop = "<html>\n<head>\n";
	winpop += "<title>" + des + "</title>";
	winpop += "</head>\n<body  bgcolor='#eeeeee'>\n";
        winpop += "<table border='0' cellpadding='0' cellspacing='0' width='100%' height='100%'>\n";
        winpop += "<tr>\n";
        winpop += "<td width='100%' valign='middle' align='center'><table border='0' cellpadding='0' cellspacing='0'>\n";
        winpop += "<tr><td width='100%' align=center>\n";
	winpop += "<img src=images/" + pic + "><br>\n";
	winpop += "<small><font face='tahoma' color='#FFCC66'>" + des + "</font></small><br>\n";
	winpop += "<small><font face='tahoma' color='#666666'><big>©</big>2004 VTE </font></small><br>\n";
        winpop += "<a href='javascript: window.close();'>"; 
	winpop += "<font face='tahoma' size='2' color='#AA0000'>Close</font></a></p>\n";
        winpop += "</td></tr>\n";
        winpop += "</table>\n";
        winpop += "</td></tr>\n";
        winpop += "</table>\n";
	winpop += "</body>\n</html>\n";
	winpopup = window.open('','show',winsize);
	winpopup.document.open(); 
	winpopup.document.write(winpop);
	winpopup.document.close();
	winpopup.focus(); 
 }
