/*
	+---------------------------------------------------------------+
	|	This Script is used to make the DIV Columns Height Same		|
	|	Written By V.Pandiyan, CnDS Department						|
	|	Dated 13 / 02 / 2006										|
	|	Macro vision Game Download Project							|
	+---------------------------------------------------------------+
*/

function HeightDozer(ids) {	 var sepr=","; var defH=0; var objFlag="1"; var addH=0; try { var browser=navigator.appName; if(browser == "Netscape"){ brow="1"; } else{ brow="0"; } ids_array=ids.split(sepr); idsLen = ids_array.length; for(i=0;i<idsLen;i++) { obj = document.getElementById(ids_array[i]); if(obj) { defH = (obj.offsetHeight > defH) ? obj.offsetHeight : defH; } else { objFlag="0"; break; } } if(objFlag == "1") { for(i=0;i<idsLen;i++) { vobj = document.getElementById(ids_array[i]); if(vobj.offsetHeight != defH) { /*vobj.style.height=defH +"px"; */ if(brow=="0") { gh = defH+addH; vobj.style.height=gh +"px"; } else { vobj.style.height=defH +"px"; } } else { if(brow=="0") { gh = vobj.offsetHeight+addH; vobj.style.height=gh +"px"; } else { vobj.style.height=vobj.offsetHeight +"px"; } } } } } catch(pandiyan) { alert(pandiyan.description); } } 
function categoryHeightDozer(ids) {	 var sepr=","; var defH=0; var objFlag="1"; var addH=25; try { var browser=navigator.appName; if(browser == "Netscape"){ brow="1"; } else{ brow="0"; } ids_array=ids.split(sepr); idsLen = ids_array.length; for(i=0;i<idsLen;i++) { obj = document.getElementById(ids_array[i]); if(obj) { defH = (obj.offsetHeight > defH) ? obj.offsetHeight : defH; } else { objFlag="0"; break; } } if(objFlag == "1") { for(i=0;i<idsLen;i++) { vobj = document.getElementById(ids_array[i]); if(vobj.offsetHeight != defH) { /*vobj.style.height=defH +"px"; */ if(brow=="0") { gh = defH+20; vobj.style.height=gh +"px"; } else { vobj.style.height=defH +"px";	} } else { if(brow=="0") { gh = vobj.offsetHeight+20; vobj.style.height=gh +"px"; } else { vobj.style.height=vobj.offsetHeight +"px"; } } } } } catch(pandiyan) { /*alert(pandiyan.description); */ } }
