//********************************************************************************************************************//
//********************************************************************************************************************//
var popUpWinVW=0;

function popUp(URLStr, name, width, height){
  if(popUpWinVW){
    if(!popUpWinVW.closed) popUpWinVW.close();
  }
 // popUpWin = window.open(URLStr, 'Volkswagen', 'toolbar=yes,location=no,directories=no,status=no,menub ar=yes,scrollbar=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height);
  popUpWinVW = window.open(URLStr, name, 'menubar=0, location=0,status=0,scrollbars=1,,resizable=1,copyhistory=yes,width='+width+',height='+height);
  popUpWinVW.window.moveTo((screen.width - width)/2, (screen.height - height)/2);
}
//********************************************************************************************************************//
//********************************************************************************************************************//

var popUpWin=0;

function popUpWindowResizeable(URLStr){
  if(popUpWin){
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'Volkswagen', 'toolbar=yes,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=yes,copyhistory=yes');
}


//********************************************************************************************************************//
//********************************************************************************************************************//

function winopenfull(strURL){
	newwin=window.open("","","scrollbars=no")
	if (document.all){
		newwin.moveTo(0,0)
		newwin.resizeTo(screen.width,screen.height-30)
	}
	newwin.location=strURL
}


//********************************************************************************************************************//
//********************************************************************************************************************//

function setFocus() { document.SMCLogin.vcEmail.focus(); }