function doBookmark()
	{
		window.external.addFavorite("http://www.vivah.com/","Vivah.com - Your portal to matrimonial bliss");
	}

function openCommandCenter(whichPage,strHeight,strWidth)
	{
		var mybars = 'directories=no,location=no,menubar=no,status=no,titlebar=no,scrollbars=yes,toolbar=no,height=' + strHeight + ',width=' + strWidth + ',resizable=yes';
		var newWin = open(whichPage,'remoteWindow',mybars);
		newWin.focus();
	}
	
function openPhoto(vCtr,vWhat)
	{
		window.focus();
		var mybars = 'directories=no,location=no,menubar=no,status=no,titlebar=no,scrollbars=yes,toolbar=no,height=780,width=710,resizable=yes';
		window.open('../vivah_matrimonials/user/openPhoto.aspx?photo='+vWhat,vCtr,mybars)		
	}
	
function openNewWin(whichPage,strHeight,strWidth,strResize)
    {
        var mybars = 'directories=no,location=no,menubar=no,status=no,titlebar=no,scrollbars=no,toolbar=no,height=' + strHeight + ',width=' + strWidth + ',resizable=' + strResize;
        var newWin = open(whichPage,'newWindow',mybars);
        newWin.focus();
    }
    
function windowOpen1(varFileName,varWinName)
	{
		
		var winBars = "directories=yes,location=yes,menubar=yes,status=yes,titlebar=yes,scrollbars=yes,toolbar=yes,height=578,width=800,resizable=yes";
		var winOpen= open(varFileName,varWinName,winBars);
		winOpen.focus();
	}
	
function plzLogin()
  {
  //alert("Please login to use this feature");
  openNewWin('../logIn.aspx','176','428','no');
  }
	
function doConfirm_pwd(id)
  {

  var strQueryVars = new String("");
  strQueryVars = "id=" + id;

  var strPath
  strPath = "../vivah_matrimonials/introContact/confirmpassword.aspx?" + strQueryVars;

  var mybars = 'directories=no,location=no,menubar=no,status=no,titlebar=no,srollbars=no,toolbar=no,height=225,width=300,resizable=no';
  var newWin = open(strPath,'confirmpwd',mybars);
  newWin.focus();
  }
  
function doConfirm(id,type)
	{
		var typeArray = new Array();
		typeArray[0] = "photo";
		typeArray[1] = "horo";
		
		var strType = new String("");
		strType = eval("typeArray[" + type + "]");
		
		var strQueryVars = new String("");
		strQueryVars = "id=" + id + "&type=" + strType;
		
		var strPath
		strPath = "../vivah_matrimonials/introContact/confirmRequest.aspx?" + strQueryVars;
		
		var mybars = 'directories=no,location=no,menubar=no,status=no,titlebar=no,srollbars=no,toolbar=no,height=90,width=300,resizable=no';
		var newWin = open(strPath,'confirm',mybars);
		newWin.focus();
	}
  function doConfirm_Accept(id)
  {
  var strQueryVars = new String("");
  strQueryVars = "id=" + id + "&type=photoContact";

  var strPath
  strPath = "../vivah_matrimonials/introContact/confirmRequest.aspx?" + strQueryVars;

  var mybars = 'directories=no,location=no,menubar=no,status=no,titlebar=no,srollbars=no,toolbar=no,height=225,width=300,resizable=no';
  var newWin = open(strPath,'confirmpwd',mybars);
  newWin.focus();
  }