function disclaimer()
{
	window.open("./templates/disclaimer.html","mywindow","menubar=0,resizable=1,width=550,height=550,scrollbars=1");
}
function privacypolicy()
{
	window.open("./templates/policy.html","mynewwindow","menubar=0,resizable=1,width=550,height=550,scrollbars=1");
}

function tradeProcedure()
{
  window.open("./contents/trademgmt/tradeRules.jsp","mytradewindow","menubar=0,resizable=1,width=550,height=550,scrollbars=1");

}

function help()
{
	window.open("./templates/help.jsp","myhelpwindow","menubar=0,resizable=1,width=550,height=550,scrollbars=1");	
}
function faqs()
{
	window.open("./templates/faq.html","myfaqwindow","menubar=0,resizable=1,width=550,height=450,scrollbars=1");
}

function getNewCaptchaImage()
{

   new Ajax.Updater('captchaID', './signUpBuyer.do?param=getCaptchaImage', {parameters:Form.serialize($('SignUpForm')),onComplete:function(){},asynchronous:true, evalScripts:true});

}
function highlight(idval)
{
 
 if(idval=="homeid")
 {
  document.getElementById("homeid").style.color="#FF66CC";
 }
 else if(idval=="productid")
 {
  document.getElementById("productid").style.color="#FF66CC";
 }
 else if(idval=="msgid")
 {
  document.getElementById("msgid").style.color="#FF66CC";
 }
 else if(idval=="addid")
 {
  document.getElementById("addid").style.color="#FF66CC";
 }
 else if(idval=="officeid")
 {
  document.getElementById("officeid").style.color="#FF66CC";
 }
}
