function showpeople (place){ url = '?ajax_action=1&module=salespersonmodule&action=search_by_tags&tag='+place+'&src=%40random47389e8bd6062'; YAHOO.util.Connect.asyncRequest('POST', url, { success : function(o){ YAHOO.util.Dom.get("centercol").innerHTML = o.responseText; //adjustscroller(); }, failure : function(o){ //alert(o.responseText); }, timeout : 5000 }); } function grabimageinfo (id){ var img; url = '?ajax_action=1&module=imagegallerymodule&action=image_to_panel&id='+id; return YAHOO.util.Connect.asyncRequest('POST', url, { success : function(o){ return eval("var obj1="+o.responseText); //adjustscroller(); }, failure : function(o){ //alert(o.responseText); }, timeout : 5000 }); //alert(conn); } YAHOO.util.Event.onDOMReady(function (){ var centercolheight = YAHOO.Tools.getHeight('centercol'); centercolheight = Math.round(centercolheight.substring(0,centercolheight.length-2)) var rightcolheight = YAHOO.Tools.getHeight('rightcol'); rightcolheight = Math.round(rightcolheight.substring(0,rightcolheight.length-2)) if(rightcolheight >=centercolheight ){ highest = rightcolheight; }else { highest = centercolheight; } var scrollerheight = (Math.round(highest-20)); if (scrollerheight < 400){ scrollerheight = 400; } scrollerheight = scrollerheight+"px"; //alert(highest+"|"+centercolheight+"|"+rightcolheight); YAHOO.util.Dom.setStyle('mycustomscroll', 'height', scrollerheight); //YAHOO.util.Dom.setStyle('rightcol', 'border', '1px solid red'); }); YAHOO.util.Event.onDOMReady(function(){ var so = new SWFObject("themes/enercontheme/images/enercon1.swf", "swf2", "400", "200", "6", "#00ffff"); so.addParam("wmode", "transparent"); so.write("logo"); var so = new SWFObject("themes/enercontheme/worldmap/enerconworldmap.swf", "swf1", "623", "346", "6", "#ffffff"); so.addParam("wmode", "transparent"); so.write("worldmap"); });