/*
var pop = 'yes';
function Popup( daLink ) {
        var comwin = window.open(daLink,'Ad','width=600,height=450,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
			comwin.focus() ;        }

function setVarNo() {
	pop = 'no';
}

function setPrice(str) {
	price = str;
}

function checkForPop(URL) {
	if (pop == "yes") {
		Popup(URL);
	}
}
*/
var pop = 'yes';
var URL = '/survey/popup.asp';

function setVarNo() {
	pop = 'no';
}

function setVarURL(ID) {
	URL = URL + ID;
}

function setVarURLPage(str) {
	URL = URL + '?page='+ str;
}

function Popup(daLink) {
	
	   var comwin = window.open(daLink,'Cart','width=650,height=650,toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes');
			comwin.focus() ;
			
	        
		}
	
function exitPagePopper() {
	if (pop == "yes") {
		setVarNo();
		Popup(URL);
	}
}




function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function openBrowserWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}

function popUp(url) {
sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=450');
self.name = "mainWin";
}

function MM_findObj(n, d) { //v4.0
  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=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') {
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (val<min || max<val) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  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=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_setTextOfTextfield(objName,x,newText) { //v3.0
  var obj = MM_findObj(objName); if (obj) obj.value = newText;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function ProfileCount()
	{
		var tempCount1 = parseInt(document.Calc.Industry_Financial_Profiles.value);
		var tempCount2 = parseInt(document.Calc.Market_Research_Profiles.value);
		var tempCount3 = parseInt(document.Calc.Area_Vitality_Profiles.value);
		var tempCount4 = parseInt(document.Calc.Area_Sector_Vitality_Profiles.value);
	
	/*	if isNaN(tempCount1){
			tempCount1 = 0;
		}
		if isNaN(tempCount2){
			tempCount2 = 0;
		}
		if isNaN(tempCount3){
			tempCount3 = 0;
		}
		if isNaN(tempCount4){
			tempCount4 = 0;
		}
	*/
		document.Calc.Input.value = tempCount1 + tempCount2 + tempCount3 + tempCount4;
	}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function new_window_jumpMenu(targ,selObj,restore){ //v3.0
	strLocation = selObj.options[selObj.selectedIndex].value;
	MM_openBrWindow(strLocation, '','width=850,height=600');
	/*MM_openBrWindow(eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"), '','width=600,height=400');*/
  if (restore) selObj.selectedIndex=0;
}

function MM_checkBrowser(NSvers,NSpass,NSnoPass,IEvers,IEpass,IEnoPass,OBpass,URL,altURL) { //v4.0
  var newURL='', verStr=navigator.appVersion, app=navigator.appName, version = parseFloat(verStr);
  if (app.indexOf('Netscape') != -1) {
    if (version >= NSvers) {if (NSpass>0) newURL=(NSpass==1)?URL:altURL;}
    else {if (NSnoPass>0) newURL=(NSnoPass==1)?URL:altURL;}
  } else if (app.indexOf('Microsoft') != -1) {
    if (version >= IEvers || verStr.indexOf(IEvers) != -1)
     {if (IEpass>0) newURL=(IEpass==1)?URL:altURL;}
    else {if (IEnoPass>0) newURL=(IEnoPass==1)?URL:altURL;}
  } else if (OBpass>0) newURL=(OBpass==1)?URL:altURL;
  if (newURL) { window.location=unescape(newURL); document.MM_returnValue=false; }
}

function preloadNavigation() {
	MM_preloadImages('images/tn_home1.gif','images/tn_about1.gif','images/tn_login1.gif','images/tn_contact1.gif','images/tn_help1.gif','images/but_search_home1.gif','images/pn_samples1.gif','images/pn_reports1.gif','images/pn_search1.gif','images/pn_guides1.gif','images/pn_resources1.gif','images/but_cart_view1.gif','images/but_cart_checkout1.gif')
}


<!-- Begin
function writeMarquee() {
document.write("<marquee scrolldelay='300' scrollamount='020'>… US startup activity rate rises to 7.6%… Two-year business failure rate at 22.4%, down five points from 2004... High growth concentrations in Wholesale top year-end 2005 ratings… Complete industry profiles as low as $10 with a <a href='/subscription.asp' class='textMainBlue'>BizMiner Subscription plan</a>…… Communications leads startup activity rate at 14.1%... Finance and Real Estate report lowest failure rates of any sector… Portsmouth, NH ethnic restaurant sales average $468,333…compare to Boston: $402,715… Complete industry profiles as low as $10 with a <a href='/subscription.asp' class='textMainBlue'>BizMiner Subscription plan</a>… Business startup activity increases 20% over prior six months… Startup failures reach 30.1% over two year time frame… Metro area business services sales per employee levels ($87,510) top rural areas by 28%… Complete industry profiles as low as $10 with a <a href='/subscription.asp' class='textMainBlue'>BizMiner Subscription plan</a>…… 30.2% of computer maintenance startups fail in first 24 months… Average DC Communications company sales: $30 million… Retail and Wholesale lead new branch development rates into 2005… Complete industry profiles as low as $10 with a <a href='/subscription.asp' class='textMainBlue'>BizMiner Subscription plan</a>…… 2005 Service sector failure rates drop by one-fifth to 21.9% over three years… New branch development rates plunge 35% since Jan 2004 ratings… Top 20 fitness companies claim 33% of market share… Complete industry profiles as low as $10 with a <a href='/subscription.asp' class='textMainBlue'>BizMiner Subscription plan</a>... Restaurant startups fail at a 29% rate in first two years of operation… 73% of all landscape contractors report less than $200,000 annual sales… Washington DC MSA leads all MSAs in Communications industry employment… Complete industry profiles as low as $10 with a <a href='/subscription.asp' class='textMainBlue'>BizMiner Subscription plan</a>…</marquee>");
}





function clearText(input){
if (input.defaultValue==input.value)
input.value = ''
}


//  End -->

//-->
