plus = new Image(); plus.src = '/i/+.gif';
minus = new Image(); minus.src = '/i/-.gif';

function Obj(id){if(id){return document.getElementById(id);}else{return false;}}

function Drop(id){
	if(o = Obj(id+'_sub')){
		if(o.style.display == 'block'){
			o.style.display = 'none';
			Obj(id+'_img').src = '/i/+.gif';
		}else{
			o.style.display = 'block';
			Obj(id+'_img').src = '/i/-.gif';
		}
	}
}

function pop(Url){
  window.open(Url,"","width=400,height=550,copyhistory=no,directories=no,menubar=no,location=no,scrollbars=yes,resizable=1,toolbar=no");
}

function Obj(obj){ return document.getElementById(obj); }
function SHBlock(block){ Obj(block).style.display=='block' ? Obj(block).style.display='none' : Obj(block).style.display='block'; }

function Zoom(Url, title) {
ww=350;  wh=350; margin = 0;
newWindow=window.open(Url,'','width='+(ww+margin)+',height='+(wh+margin)+',toolbar=0,scrollbars=0,resizable=0,status=0');
newWindow.focus();
newWindow.document.open();
newWindow.document.writeln("<title>"+title+"</title><style>body {padding:0px; margin:0px;}</style><body><img src="+Url+" width="+ww+" height="+wh+" border=0></body>");
newWindow.document.close();
}

function Gallery(Url){
	newWindow=window.open(Url,'','width=535,height=550,toolbar=0,scrollbars=1,resizable=0,status=0');
}
function Compare(Url) {
ww=550;  wh=450;
comWindow=window.open(Url,'Compare','width='+(ww+20)+',height='+(wh+20)+',toolbar=0,'+'scrollbars=1,'+'resizable=1');
}
