function expand_contact_form_details() {
    showHide('request-info-container','','show','request-info','','hide')
    $( 'contact_form_is_expanded' ).value = 1;
}

function findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function showHide() {
  var i,p,v,obj,args=showHide.arguments;
  for (i = 0;i < (args.length - 2);i +=3 )
		if ((obj=findObj(args[i]))!=null) {
				v=args[i+2];
    		if (obj.style) {
					obj=obj.style;;
					v=(v=='show') ? 'block' : (v=='hide') ? 'none' : v
				}
    	obj.display=v
		}
}

function openRetailService(){
var popurl="/marketing/tour/retail_service.html"
winpops=window.open(popurl,"","width=900,height=600,")
}

function openIndustryService(){
var popurl="/marketing/tour/industry_service.html"
winpops=window.open(popurl,"","width=900,height=600,")
}

function openPromoMonitor(){
var popurl="/marketing/research/advertising_circulars_popup.html"
winpops=window.open(popurl,"","width=760,height=500,scrollbars=yes")
}

function openWeeklySummaryReport(){
var popurl="/marketing/research/weekly_summary_popup.html"
winpops=window.open(popurl,"","width=760,height=500,scrollbars=yes")
}

function openTopTenReport(){
var popurl="/marketing/research/dvd_sales_data_popup.html"
winpops=window.open(popurl,"","width=760,height=500,scrollbars=yes")
}

function openPriceTracker(){
var popurl="/marketing/services/price_tracker_popup.html"
winpops=window.open(popurl,"","width=760,height=510,scrollbars=no")
}

function openAllocation_Essentials(){
var popurl="/marketing/services/allocation_essentials_popup.html"
winpops=window.open(popurl,"","width=760,height=535,scrollbars=no")
}


