function MM_timelinePlay(tmLnName, myID) { //v1.2
  //Copyright 1997 Macromedia, Inc. All rights reserved.
  var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  tmLn = document.MM_Time[tmLnName];
  if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  if (myID == tmLn.ID) { //if Im newest
    setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
    fNew = ++tmLn.curFrame;
    for (i=0; i<tmLn.length; i++) {
      sprite = tmLn[i];
      if (sprite.charAt(0) == 's') {
        if (sprite.obj) {
          numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
          if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
            keyFrm=1;
            for (j=0; j<sprite.values.length; j++) {
              props = sprite.values[j]; 
              if (numKeyFr != props.length) {
                if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
                else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
              } else {
                while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
                if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
                  if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
                  else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
        } } } } }
      } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
      if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  } }
}

function MM_initTimelines() { //v4.0
    //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
    var ns = navigator.appName == "Netscape";
    var ns4 = (ns && parseInt(navigator.appVersion) == 4);
    var ns5 = (ns && parseInt(navigator.appVersion) > 4);
    document.MM_Time = new Array(1);
    document.MM_Time[0] = new Array(1);
    document.MM_Time["Timeline1"] = document.MM_Time[0];
    document.MM_Time[0].MM_Name = "Timeline1";
    document.MM_Time[0].fps = 230;
    document.MM_Time[0][0] = new String("sprite");
    document.MM_Time[0][0].slot = 1;
    if (ns4)
        document.MM_Time[0][0].obj = document["testdiv5"];
    else if (ns5)
        document.MM_Time[0][0].obj = document.getElementById("testdiv5");
    else
        document.MM_Time[0][0].obj = document.all ? document.all["testdiv5"] : null;
    document.MM_Time[0][0].keyFrames = new Array(1, 80);
    document.MM_Time[0][0].values = new Array(2);
    if (ns5)
        document.MM_Time[0][0].values[0] = new Array("-450px", "-441px", "-432px", "-422px", "-413px", "-404px", "-395px", "-386px", "-377px", "-367px", "-358px", "-349px", "-340px", "-331px", "-322px", "-312px", "-303px", "-294px", "-285px", "-276px", "-266px", "-257px", "-248px", "-239px", "-230px", "-221px", "-211px", "-202px", "-193px", "-184px", "-175px", "-166px", "-156px", "-147px", "-138px", "-129px", "-120px", "-110px", "-101px", "-92px", "-83px", "-74px", "-65px", "-55px", "-46px", "-37px", "-28px", "-19px", "-9px", "0px", "9px", "18px", "27px", "36px", "46px", "55px", "64px", "73px", "82px", "91px", "101px", "110px", "119px", "128px", "137px", "147px", "156px", "165px", "174px", "183px", "192px", "202px", "211px", "220px", "229px", "238px", "247px", "257px", "266px", "275px");
    else
        document.MM_Time[0][0].values[0] = new Array(-450,-441,-432,-422,-413,-404,-395,-386,-377,-367,-358,-349,-340,-331,-322,-312,-303,-294,-285,-276,-266,-257,-248,-239,-230,-221,-211,-202,-193,-184,-175,-166,-156,-147,-138,-129,-120,-110,-101,-92,-83,-74,-65,-55,-46,-37,-28,-19,-9,0,9,18,27,36,46,55,64,73,82,91,101,110,119,128,137,147,156,165,174,183,192,202,211,220,229,238,247,257,266,275);
    document.MM_Time[0][0].values[0].prop = "left";
    if (ns5)
        document.MM_Time[0][0].values[1] = new Array("200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px", "200px");
    else
        document.MM_Time[0][0].values[1] = new Array(200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200);
    document.MM_Time[0][0].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[0][0].values[0].prop2 = "style";
        document.MM_Time[0][0].values[1].prop2 = "style";
    }
    document.MM_Time[0].lastFrame = 80;
    for (i=0; i<document.MM_Time.length; i++) {
        document.MM_Time[i].ID = null;
        document.MM_Time[i].curFrame = 0;
        document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
    }
}

/* Get screen height & width */
widSz = screen.width / 3;
hgSz = screen.height / 3;
/* Get rounded value */
hgSz = Math.round(hgSz);
widSz = Math.round(widSz);
// Create PopupWindow objects
var testpopup5 = new PopupWindow("testdiv5");
testpopup5.offsetX=0;
testpopup5.offsetY=200;
testpopup5.autoHide();
var testpopup5input=null;

var tableform = '<form name="form1" action="registerAct.php" method="post" onSubmit = "javascript:tmp_str_popup = \'hide\';return validate_form(this)">' +
		'<table width="350" border="0" cellspacing="0" cellpadding="0">'+
  		'<tr><td class="tableborder">'+
  		'<table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">'+
        	'<tr><td class="tablehead"><table width="100%" border="0" cellspacing="0" cellpadding="0">'+
                '<tr><td width="93%"><span class="offer-bold">&nbsp;&nbsp;&nbsp;&nbsp;SPECIAL OFFER!</span></td>'+
                '<td width="7%"><div align="center"><a href="#" onClick="testpopup5.hidePopup();return false;"><img src="images/close.gif" border="0" width="20" height="17"></a></div>'+
                '</td></tr></table></td></tr><tr><td class="tablebottom"><br><table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">'+
                '<tr><td><div align="Justify"><span class="offer-text">Subscribe to the '+
                '</span><span class="offer-bold">FREE Monthly Web designing'+
                'Tips</span> <span class="offer-text">Newsletter, with hundreds'+
                'of designing tips &amp; tricks. We are also giving away all '+
                'the knowledge, insights, trade secrets, tips and tricks that '+
                'we have accumulated the hard way ... </span><span class="offer-bold">FREE'+
                '...</span> <span class="offer-text">to anybody who registers ' +
                'at Tutorials Galaxy. Download sample chapter free for evaluation '+
                'immediately after registration.<br>'+
                '<br></span> </div>'+
                '<table width="65%" border="0" cellspacing="0" cellpadding="0" align="center">'+
                '<tr><td width="5%" class="offer-bold"><img src="images/bullet8.gif" width="4" height="8"></td>'+
                '<td width="37%" class="offer-bold">First Name </td><td width="6%" class="offer-bold">:</td>'+
                '<td width="52%"><input type="text" name="frm_str_Name" size="14" class="left">'+
                '</td></tr><tr><td width="5%" class="offer-bold"><img src="images/bullet8.gif" width="4" height="8"></td>'+
                '<td width="37%" class="offer-bold">Last Name</td><td width="6%" class="offer-bold">:</td>'+
                '<td width="52%"><input type="text" name="frm_str_LName"  size="14" class="left">'+
                '</td></tr><tr><td width="5%" class="offer-bold"><img src="images/bullet8.gif" width="4" height="8"></td>'+
                '<td width="37%" class="offer-bold">Email ID</td><td width="6%" class="offer-bold">:</td>'+
                '<td width="52%"><input type="text" name="frm_str_Email" size="14" class="left">'+
                '</td></tr></table><p align="center"><input type = "hidden" name = "js_Blank" value="frm_str_Name,Name,frm_str_LName,Last Name,frm_str_Email,Email">'+
                '<input type = "hidden" name = "js_AlphaNumeric" value=""><input type = "hidden" name = "js_Numeric" value="">'+
                '<input type = "hidden" name = "js_Email" value="frm_str_Email,Email"><input type = "hidden" name = "js_Date" value="">'+
                '<input type ="hidden" name="tmp_up" value="Pop Up"><input type="image" border="0" name="imageField" src="images/submit.gif" width="68" height="19">'+
                '</p><p align="left" class="tablebottom"></p><span class="offer-text"> </span></td>'+
                '</tr></table></td></tr></table></td></tr></table></form>';



testpopup5.populate(tableform);
function dWinpopupactivate(obj,anchor) {
	testpopup5input=obj;
	testpopup5.showPopup(anchor);
	MM_timelinePlay('Timeline1');
	return false;
	}
function testpopup5pick(val) {
	testpopup5input.value = val;
	testpopup5.hidePopup();
	}
document.write('<FORM NAME="form5"><A HREF="#" NAME="anchor5" ID="anchor5"> </A></FORM><DIV ID="testdiv5" style="position:absolute; z-index:1; top:200px; visibility:hidden;width:500px; height:500px;"></DIV>');

