function showHidecity()
{
}

function RegValue(FieldName) {

	if(FieldName.value == 'enter your email ') 
		FieldName.value = '';
}

function AssignOriginalValue(FieldName) {

	if(FieldName.value == '') 
		FieldName.value = 'enter your email ';

}

function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.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') { num = parseFloat(val);
        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 (num<min || max<num) 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 == '');
}


	/*
		newsScrollerDom 1.3.1
		URL: http://code.web-ma.com/scroller

		Copyright (C) 2006-2008 Web-MA Soluzioni Informatiche

		This program is free software; you can redistribute it and/or
		modify it under the terms of the GNU General Public License
		as published by the Free Software Foundation; either version 2
		of the License, or (at your option) any later version.

		This program is distributed in the hope that it will be useful,
		but WITHOUT ANY WARRANTY; without even the implied warranty of
		MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
		GNU General Public License for more details.

		The GNU license to which this software is referering is available at:
		http://www.gnu.org/licenses/gpl.txt

	  -------------------------------------------------------------------------
	
		Version history

		* 1.0.0	12/05/2006: - initial release;
		
		* 1.1.0	12/10/2006: - add. Added li element to the HTML doc to let file pass the W3C validation; 
						calling the removeChild method to delete this element before to 
						start add the new ones solve the problem of the empty element;
		
		* 1.2.0	04/15/2007: - add. A variable now can control if the news should be fixed or scroll;
				    - add. Is possible to add images into the news, also in a popup style;

		* 1.2.1	04/17/2007: - fix. Is now possible to leave an empty element of type image inside the xml file;
						To add an image, add this section into the xml file under each element section
						you want to display an image.
						
						<images>
							<imgName>ROOT PATH OF YOUR IMAGES</imgName>
						</images>
						
						You can control the image placeholder throught the variable ImagePlaceHolder.
						You can control the JS function to call when an image placeholder will be clicked
						through the variable JSImageOnClickFunction;
			
		* 1.2.2  07/31/2007: - fix. Inside the stopNews function was wrongly used a fixed name of the ID
						instead of the variable;
											 
				     - fix. The onclick function didn't open the link supplied in the XML file.
				       
		* 1.3.0 03/25/2008   - add. Added the possibility to add anchor tag inside the xml document.
						url path should be formed in this way (mandatory):
						[uri=yoururl,descr=anchordescription]
				     - fix. The breakline is fully supported. For some reasons I didn't see that there was problem on
						in the previous versions. To add a breakline, simply add a \n whenever in description
						element. Multiple breakline are allowed.

		* 1.3.1 03/28/2008   - fix. Internet Explorer 7 doesn't like the way I managed the link url - made through javascript - so I changed it definitely
						passing back the url to the href property of anchor tag.
	*/


