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: '314px'});
		$('adiqPopups').setStyle({height: '190px'});
		//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: '110px'});
			$('adiqFormPanel').setStyle({left: '35px'});
		
		//else if browser is Safari apply these styles to the pages
		}else if(Prototype.Browser.WebKit){
			
			$('adiqFormPanel').setStyle({left: '35px'});
		
		//else apply these styles for IE support
		}else{
			$('adiqFormPanel').style.cssText = 'left: 35px';
		}
	}
	
	//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'});
			$('adiqFormPanel').setStyle({left: '35px'});
		
		//else if browser is Safari apply these styles to the pages
		}else if(Prototype.Browser.WebKit){
			
			$('adiqFormPanel').setStyle({top: '100px'});
			$('adiqFormPanel').setStyle({left: '35px'});
		
		//else apply these styles for IE support
		}else{
			$('adiqFormPanel').style.cssText = 'top: 95px; left: 35px';
		}
	}
	
	//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'});
			$('adiqFormPanel').setStyle({left: '35px'});
		
		//else if browser is Safari apply these styles to the pages
		}else if(Prototype.Browser.WebKit){
			
			$('adiqFormPanel').setStyle({top: '90px'});
			$('adiqFormPanel').setStyle({left: '35px'});

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