function showPopup(){
	$('#adiqPopups').css('display', 'block');
		
	jQuery.each(jQuery.browser, function(i) {
		//if browser is Firfox or Safari apply these styles to the pages
		if($.browser.mozilla || $.browser.safari){
			$('#adiqPopups').css('width', '304px');
			$('#adiqPopups').css('height', '174px');
		}
	});
}

function hidePopup(){
	
	$('#adiqPopups').css('display', 'none');
}

function formatFormPanel(formType){
	
	//if the consumer is submitting an sms apply these changes
	if(formType == 'sms'){
		jQuery.each(jQuery.browser, function(i) {
		
			//if browser is Firfox apply these styles to the pages
			if($.browser.mozilla){
				$('#adiqFormPanel').css('top', '115px');
				$('#adiqFormPanel').css('left', '35px');
			
			//else if browser is Safari apply these styles to the pages
			}else if($.browser.safari){
				$('#adiqFormPanel').css('left', '35px');
			
			//else apply these styles for IE support
			}else{
			}
		});
	}
	
	//if the consumer is submitting a nearest apply these changes
	if(formType == 'nearest'){
		jQuery.each(jQuery.browser, function(i) {
		
			//if browser is Firfox apply these styles to the pages
			if($.browser.mozilla){
				$('#adiqFormPanel').css('top', '105px');
				$('#adiqFormPanel').css('left', '35px');
			
			//else if browser is Safari apply these styles to the pages
			}else if($.browser.safari){
				$('#adiqFormPanel').css('top', '100px');
				$('#adiqFormPanel').css('left', '35px');
			
			//else apply these styles for IE support
			}else{
			}
		});
	}
	
	//if the consumer is submitting a postal apply these changes
	if(formType == 'address'){
		jQuery.each(jQuery.browser, function(i) {
		
			//if browser is Firfox apply these styles to the pages
			if($.browser.mozilla){
				$('#adiqFormPanel').css('top', '86px');
				$('#adiqFormPanel').css('left', '35px');
			
			//else if browser is Safari apply these styles to the pages
			}else if($.browser.safari){
				$('#adiqFormPanel').css('top', '90px');
				$('#adiqFormPanel').css('left', '35px');
			
			//else apply these styles for IE support
			}else{
			}
		});
		
	}
}
