// showModalDialog notification 

// VariableSMD() needs this global, so that we can set it to not 
// null upon onclick.  
var SMDnoactive = null; 

// This function looks to see if the customer in question has signed up. 
//
function VariableSMD(height,width,location) {
	if(SMDnoactive != null) { 
		null;
	} else { 
		genSMD(height,width,location);
	} 
}

// This function draws the ShowModalDialog. 
// 
function genSMD(height,width,location) { 
//set return value of the dialog box or dialog result
	var sFeatures="help: no; unadorned: on; status: off; scroll: yes; dialogHeight: "+height+"px; dialogWidth: "+width+"px;"; 
	showModalDialog(location,"window",sFeatures);
}//function

