function show_hide(id, show) {if (el = document.getElementById(id)) {if (null==show) show = el.style.display=='none';el.style.display = (show ? '' : 'none');}}function show_hidepic(id, pic, url, show) {if (el = document.getElementById(id)) {if (null==show) {show = el.style.display=='none';el.style.display = (show ? '' : 'none');if(el.style.display == "none"){document.getElementById(pic).src=url+'arrow1.gif'}else{document.getElementById(pic).src=url+'arrowdown.gif'}}}}function titleClick(title, url) {	totalPrds = document.getElementById("totalProducts").value		n = 1	while (n <= totalPrds) {		prdSpans = document.getElementsByName("product_" + n)		i = 0		while (i < prdSpans.length) {			span = prdSpans.item(i)			span.style.display = "none"			i++		}				n++;	}		clickedTitle = document.getElementsByName(title)	i = 0	while (i < clickedTitle.length) {		span = clickedTitle.item(i)		span.style.display = ""		i++	}		window.location = url}function resize_iframe(){var opera = (navigator.userAgent.indexOf("Opera") >= 0)? true: false;var ie = (document.all && !opera)? true: false;if (parseInt(navigator.appVersion)>3) {if (ie) {h = document.frames('iframename').document.body.scrollHeight;//document.body.scroll='no'; document.getElementById('iframename').height=h; document.all.iframename.style.height = h;}else {document.body.scroll='yes';document.getElementById('iframename').height='400'; }}}function divheight() {var lh=document.getElementById('right').offsetHeight;var rh=document.getElementById('maincontent').offsetHeight;var nh = Math.max(lh, rh);if (nh < 485){nh = 480;}document.getElementById('right').style.height=(nh+5)+"px";document.getElementById('maincontent').style.height=(nh+45)+"px";}