//  Removed CartId from Line No. 156, 158 by Armour - 23/12/2004

//	@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//	@		Description			: This function validates the required fields. It chacks whether 
//  @                     all the mandatory fields are enterd by the user corrrectly or not.
//  @   Pages Affected  : ContactAddress
//  @		Function Name		: validate(option)									
//	@		Input Parameters: option=1->NonSecurepath,2->Securepath
//	@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  hs.graphicsDir = 'graphics/';
				hs.outlineType = 'rounded-white';
				hs.outlineWhileAnimating = true;


			hs.Expander.prototype.printHtml = function ()
			{
				var pw = window.open("about:blank", "_new");
				pw.document.open();
				pw.document.write(this.getHtmlPrintPage());
				pw.document.close();
				return false;
			};
			hs.Expander.prototype.getHtmlPrintPage = function()
			{
				// We break the closing script tag in half to prevent
				// the HTML parser from seeing it as a part of
				// the *main* page.
				var body = hs.getElementByClass(this.innerContent, 'DIV', 'highslide-body')
					|| this.innerContent;


			};

			// value changes
			var objelm;
			function Getval(elem)

			{

			objelm=elem;

			//alert(objelm);

			}

			/*function Setval(xvalue)
			{
				alert(1);

			hs.close(this)
				//window.opener.objelm.value = xvalue;
				//window.opener.objelm = "";
				//self.close();
			}*/


