function showPopup(){
	
	$('adiqPopups').setStyle({display: 'block'});
	
	//if browser is Firfox or Safari apply these styles to the pages
	if(Prototype.Browser.Gecko || Prototype.Browser.WebKit){
	
		$('adiqPopups').setStyle({width: '340px !important'});
		$('adiqPopups').setStyle({height: '230px !important'});
		//alert('it is Mozilla');
	}
}

function hidePopup(){
	
	$('adiqPopups').setStyle({display: 'none'});
}

function formatFormPanel(formType){
	
	//if the consumer is submitting an sms apply these changes
	if(formType == 'sms'){
		
		//if browser is Firfox apply these styles to the pages
		if(Prototype.Browser.Gecko){
			
			$('adiqFormPanel').setStyle({top: '100px !important'});
			$('adiqFormPanel').setStyle({left: '35px !important'});
			
		
		//else if browser is Safari apply these styles to the pages
		}else if(Prototype.Browser.WebKit){
			
			$('adiqFormPanel').setStyle({left: '35px !important'});
		
		//else apply these styles for IE support
		}else{
			$('adiqFormPanel').style.cssText = 'left: 35px !important';
		}
	}
	
	//if the consumer is submitting a nearest apply these changes
	if(formType == 'nearest'){
		
		//if browser is Firfox apply these styles to the pages
		if(Prototype.Browser.Gecko){
			
			$('adiqFormPanel').setStyle({top: '110px !important'});
			$('adiqFormPanel').setStyle({left: '35px !important'});
		
		//else if browser is Safari apply these styles to the pages
		}else if(Prototype.Browser.WebKit){
			
			$('adiqFormPanel').setStyle({top: '100px !important'});
			$('adiqFormPanel').setStyle({left: '35px !important'});
		
		//else apply these styles for IE support
		}else{
			$('adiqFormPanel').style.cssText = 'top: 95px !important; left: 35px !important';
		}
	}
	
	//if the consumer is submitting a postal apply these changes
	if(formType == 'address'){
		
		//if browser is Firfox apply these styles to the pages
		if(Prototype.Browser.Gecko){
			
			$('adiqFormPanel').setStyle({top: '94px !important'});
			$('adiqFormPanel').setStyle({left: '35px !important'});
		
		//else if browser is Safari apply these styles to the pages
		}else if(Prototype.Browser.WebKit){
			
			$('adiqFormPanel').setStyle({top: '90px !important'});
			$('adiqFormPanel').setStyle({left: '35px !important'});

		//else apply these styles for IE support
		}else{
			$('adiqFormPanel').style.cssText = 'top: 82px !important; left: 35px !important;';
		}
	}
}

