var theURL = "http://www.shaadi.com/register/welcome.php?ptnr=cspb";
//http://www.shaadi.com/register/welcome.php?a=1

// Set the title of the popup window
var title = "Shaadi.com"

// Set the size of the popup window
var windowWidth  = 790; // cannot be less than 100
var windowHeight = 500; // cannot be less than 100

// Set the position of the popup window
var windowX = 100;
var windowY = 100;

// Set true to auto-center (positions will be ignored)
var autocenter = false;

// Set true for popup to close when launch page does
var autoclose = false;

// Do not edit below this line.
// ============================

var s="width="+windowWidth+",height="+windowHeight;
var beIE=document.all?true:false;
var done=new Object("no");

if(autocenter){
windowX = (window.screen.width-windowWidth)/2;
windowY = (window.screen.height-windowHeight)/2;
}

function csouthPopup(){
  if (beIE){
  agilePopper = window.open(theURL);
  agilePopper.blur();
  window.focus();
  agilePopper.resizeTo(windowWidth,windowHeight);
  agilePopper.moveTo(windowX,windowY);
//  var frameString=""+
//"<html>"+
//"<head>"+
//"<title>"+title+"</title>"+
//"</head>"+
//"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
//"<frame name='top' src='"+theURL+"' scrolling=no>"+
//"<frame name='bottom' src='about:blank' scrolling='yes'>"+
//"</frameset>"+
//"</html>"
  //agilePopper.document.open();
 // agilePopper.document.write(frameString);
 // agilePopper.document.close();
  }else{
  agilePopper=window.open(theURL,"Shaadi.com","scrollbars=yes,"+s);
  agilePopper.blur();
  window.focus();
  agilePopper.resizeTo(windowWidth,windowHeight);
  agilePopper.moveTo(windowX,windowY);
  }
  agilePopper.blur();
  if (autoclose){
  window.onunload = function(){agilePopper.close();}
  }
  done="okay";
}

