function RemoveBadChars(oSrc, args){  
  //args.value = ars.value.replace(/\&lt;|\&gt;|\"|\'|\%|\;|\(|\)|\&amp;|\+|\-/g,""); 
  args.isValid = true;
}

function FindBadChars(oSrc, args){
   args.IsValid = (args.Value.Length >= 8);
   // /\<|\>|\"|\'|\%|\;|\(|\)|\&|\+|\-/g worked on http://regexlib.com/RETester.aspx
   //strTemp = strTemp.replace(/\&lt;|\&gt;|\"|\'|\%|\;|\(|\)|\&amp;|\+|\-/g,""); 
}

function popupFAQ(filename) {
	// Show FAQ popup window based on features provided
	
	faq_window = window.open( filename, "faq_window", "left=110,top=90,width=375,height=280,resizable=1,scrollbars=1,toolbar=0,status=0,location=0,directories=0,menubar=0");
	faq_window.focus();
	
}
function popupCCID(filename) {
	// Show FAQ popup window based on features provided
	
	faq_window = window.open( filename, "faq_window", "left=110,top=90,width=425,height=450,resizable=1,scrollbars=0,toolbar=0,status=0,location=0,directories=0,menubar=0");
	faq_window.focus();
}
function popupHelp(filename) {
	// Show FAQ popup window based on features provided
	
	help_window = window.open( filename, "help_window", "left=110,top=90,width=425,height=400,resizable=1,scrollbars=0,toolbar=0,status=0,location=0,directories=0,menubar=0");
	help_window.focus();
}
function popupList(filename) {
	// Show popup list window based on features provided
	
	faq_window = window.open( filename, "faq_window", "left=500,top=40,width=425,height=600,resizable=1,scrollbars=1,toolbar=0,status=0,location=0,directories=0,menubar=0");
	faq_window.focus();
}
function popupPress(filename) {
	// Show FAQ popup window based on features provided
	
	help_window = window.open( filename, "press_window", "left=110,top=90,width=500,height=600,resizable=1,scrollbars=1,toolbar=0,status=0,location=0,directories=0,menubar=0");
	help_window.focus();
}

// openFullWindow 
//
// show url in specific size simple window
// with only the scrollbar and resizable

function openFullWindow(url, w, h) 
{
	new_window=window.open(url,'new_window','width=' + w + ',height=' + h + ',toolbar=0,location=0,menubar=0,status=0,scrollbars=1,resizable=1,directories=0');
	new_window.focus();
}
	