

function _img(Img, w, h) {
alt = window.document.title;
t=parseInt((screen.height-h)/5); 
l=parseInt((self.screen.width-w)*9/10);
d = open('',h,'menubar=0,directories=0,location=0,toolbar=0,scrollbars=0,status=0,resizable=0,width='+w+',height='+h+',top='+t+',left='+l);
with(d.document){
focus();
open();
write('<html><head><title>'+alt+'</title></head>');
write('<body topmargin=0 marginheight=0 marginwidth=0 bottommargin=0 rightmargin=0 leftmargin=0 onselectstart="return false;" background="/images/load.gif" style="background-color:#4F5A68;background-position:center;background-repeat:no-repeat;">');
write('<img src='+Host+Img+' width='+w+' height='+h+' border=0 alt="'+alt+'" disabled="return false;">');
write('</body></html>');
close(); 
   }
}

function _highl(obj) {
	bg = obj.style.backgroundColor;
	obj.style.backgroundColor = '#dddddd';
	}
function _rstr(obj) {
	obj.style.backgroundColor = bg;
	}

  
function ChImg(pic, Img) {
document[pic].src = '/'+Img;
}  


  
function _open(pg, w, h, ph, scr) {
scr = scr;
if(w > 860 || h> 860){
h = 560;
w = 860;
scr = 1;
}

t=parseInt((screen.height-h)/5); 
l=parseInt((self.screen.width-w)*9/10);
d = open(Host+pg,ph,'menubar=0,directories=0,location=0,toolbar=0,scrollbars='+scr+',status=0,resizable=1,width='+w+',height='+h+',top='+t+',left='+l);
d.document.focus();
}

function SelField(Set,txt){
alert(txt);
Set.focus();
Set.select();
}

function _icon(img,alt,w,h) {
with(document){
if(_check()) {
write('<img src='+img+' width='+w+' height='+h+' border=0 alt="'+alt+'">');
   } else {
write('<div style="width:'+w+'px;height:'+h+'px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='+img+')">&nbsp;</div>');
        }
   }
}


function _flash() {
with(document){
write('<div style="position:absolute;top:46px;width:256px;height:239px;padding-left:25px;">');
write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="256" height="239">');
write('<param name="movie" value="images/flash.swf">');
write('<param name="quality" value="high">');
write('<param name="menu" value="false">');
write('<param name="wmode" value="transparent">');
write('<embed src="images/flash.swf" quality="high" menu="false" width="256" height="239" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
write('</object>');
write('</div>');
   }
}

