<!-- Begin

function viewImage(ifile,ix,iy,ititle) { 
	var win = window.open("",""+ititle,"width="+ix+",height="+iy+",menubar=no,toolbar=no");
	win.document.write("<html><head><title>"+ititle+"</title>");
	win.document.write("</head><body>");
	win.document.write('<div style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">');
	win.document.write("<img src="+ifile+"></div></body></html>");
}

function openWindow(ititle,ihref,ix,iy) {
	window.open(""+ihref,""+ititle,"width="+ix+",height="+iy+",menubar=no,toolbar=yes,scrollbars=yes,location=no,status=no,resizable=yes");
}

function changeTitle(img_name,img_src) {
	document[img_name].src = "/images/template/"+img_src;
}

function expandIE(el) { 
   	whichEl = eval(el + "Child");
	if (whichEl.className == "childclosed") {
		whichEl.className = "childopen";
   		whichEl.style.display = "block";	
   	} else {
		whichEl.className = "childclosed";
   		whichEl.style.display = "none";
   	}
}

// End -->


