// JavaScript Document

function dropMenu(){ // NEEDED FOR IE 6.

 if(navigator.appVersion.indexOf("MSIE")==-1){return;}
 var i,k,g,lg,r=/\s*hvr/,nn='',c,cs='hvr',bv='menubar';
 for(i=0;i<10;i++){g=document.getElementById(bv+nn);if(g){
 lg=g.getElementsByTagName("LI");if(lg){for(k=0;k<lg.length;k++){
 lg[k].onmouseover=function(){c=this.className;cl=(c)?c+' '+cs:cs;
 this.className=cl;};lg[k].onmouseout=function(){c=this.className;
 this.className=(c)?c.replace(r,''):'';};}}}nn=i+1;}
 
}

jQuery(document).ready(
	function (){

	var userAgent = navigator.userAgent.toLowerCase();

		//mainmenu();
		if (jQuery.browser.safari){						
			jQuery('div.busRight p.first').css('margin-bottom','17px');
			jQuery('div.busRight p').css('line-height','13px');
			jQuery('div.sellYourBusiness').css('height','721px');
			jQuery('div#searchForm').css('width','235px');
			jQuery('input.query').css('width','192px');
			jQuery('span.seperator').css('margin-top','-6px');//
			jQuery('ul.franchise, ul.sellYourBusiness, ul.businessBrokers').css('margin-left','3px !important;');//
		}
		if (jQuery.browser.opera){
			jQuery('span.seperator').css('margin-top','-6px');//
			jQuery('ul.franchise, ul.sellYourBusiness, ul.businessBrokers').css('margin-left','-1px !important;');//	
		}
		/*
		if (jQuery.browser.mozilla){
			if (userAgent.indexOf("3.5") > -1) {
				jQuery('span.seperator').css('margin-top','-5px');//
			}
		}
		*/
		if (jQuery.browser.mozilla && jQuery.browser.version >='1.9.1'){
				jQuery('span.seperator').css('margin-top','-5px');//
		}
	}
);