<!--
if (top.frames.length!=0) top.location=self.document.location;
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function swSetup() {
	var img, sh, sn, sd
	for (var i = 0; (img = document.images[i]); i++) {
		if (img.getAttribute) {

			sn = img.getAttribute("src");
			sh = img.getAttribute("hsrc");
			sd = img.getAttribute("dsrc");

			if (sn != "" && sn != null) {
				img.n = new Image();
				img.n.src = img.src;
			
				if (sh != "" && sh != null) {
					img.h = new Image();
					img.h.src = sh;
					img.onmouseover = swSwapOn
					img.onmouseout  = swSwapOff
				}

				if (sd != "" && sd != null) {
					img.d = new Image();
					img.d.src = sd;
					img.onmousedown = swSwapDown
				}
			}
		}
	}
}

function swSwapOn() {
	this.src = this.h.src;
}

function swSwapOff() {
	this.src  = this.n.src;
}

function swSwapDown() {
	this.src  = this.d.src;
	this.temp = typeof(document.onmouseup) != 'undefined' && typeof(document.onmouseup) != 'unknown' ? document.onmouseup : "";
	swSwapUp.img = this;
	document.onmouseup = swSwapUp;
}

function swSwapUp() {
	var ths = swSwapUp.img;
	ths.src = ths.n.src;
	if (ths.temp) document.onmouseup = ths.temp;
}


function nlet()
{
var re=/\w+@\w+\.\w+/;
var name=document.news.yname.value;
var email=document.news.ymail.value;
// var subscribe=document.news.sub.value;
if(document.news.yname.value=="")
{
alert("Please enter your name");
document.news.yname.focus();
return false;
}
if(document.news.ymail.value=="")
{
alert("Please enter your Email Id");
document.news.ymail.focus();
return false;
}
if(!(document.news.ymail.value.match(re)))
{
alert("Please  enter your mail id like@yahoo.com");
document.news.ymail.focus();
return false;
}
else
{
window.open('newsletter.php?name='+name+'&email='+email,'nl','width=300,height=160,top=100,left=100,scrollbars=no');
return true;
}
}

// -->
