/********************************************************************************************/
/*********          New Account and Licensing data capture portal  *************************/
/*******************************************************************************************/
/* New Account:*/

function RunForgotPassword(){
	var winSiebel = window.open("https://webcache.gmc-uk.org/ecustomer_enu/start.swe?SWECmd=GotoView&SWEView=GMC+MyGMC+Forgotten+Password+View&SWEApplet=GMC+WEB+MyGMC+Doctor+Forgotten+Password+Form+Applet","gmc_new_account","status=1,toolbar=no,resizable=yes,dependent=no,scrollbars=yes,width=990 height=650");
	winSiebel.opener = null;
	winSiebel = null;
	};
	
function fnCheckBrowser(){
	blnResult = 0;
	bprops = navigator.userAgent;

	if (bprops.indexOf("Opera 8")!=-1){
		var winSiebel = window.open("https://webcache.gmc-uk.org/ecustomer_enu/opera_guidance.html","_blank","status=1,toolbar=no,resizable=yes,dependent=no,scrollbars=yes,width=990 height=650");
		winSiebel.opener = null;
		winSiebel = null;
		blnResult = 1;
	}
	return blnResult;
};

function RunGMCOnline()
{
	blnChkBrwr = fnCheckBrowser();
	if (blnChkBrwr == 0){
		var WinMyGMC = window.open("https://webcache.gmc-uk.org/ecustomer_enu/index.aspx","WinMyGMC","status=1,toolbar=no,resizable=yes,dependent=no,scrollbars=yes,width=990 height=650");
		WinMyGMC.opener = null;
		WinMyGMC.focus;
		WinMyGMC = null;
		}
	};

function RunWebForm()
{
	blnChkBrwr = fnCheckBrowser();
	if (blnChkBrwr == 0){
		var WinWebForm = window.open("https://webcache.gmc-uk.org/ecustomer_enu/start.swe?SWECmd=GotoView&SWEView=GMC+MyGMC+Standard+Web+Enquiry+View&SWEApplet=GMC+WEB+MyGMC+Standard+Web+Enquiry+Form+Applet","WinWebForm","top=0,left=0,status=1,toolbar=no,resizable=yes,dependent=no,scrollbars=yes,width=990 height=650");
		WinWebForm.opener = null;
		WinWebForm.focus;
		WinWebForm = null;
		}
};

function RunPLAB(){
	blnChkBrwr = fnCheckBrowser();
	if (blnChkBrwr == 0){
		var winSiebel = window.open("https://webcache.gmc-uk.org/gmcplab_enu/start.swe","_blank","status=1,toolbar=no,resizable=yes,dependent=no,scrollbars=yes,width==990 height=650");
		winSiebel.opener = null;
		winSiebel.focus;
		winSiebel = null;
   }

};

function RunAccountActivation() 
{
blnChkBrwr = fnCheckBrowser();
	if (blnChkBrwr == 0){
	var winSiebel = window.open("https://webcache.gmc-uk.org/ecustomer_enu/start.swe?SWECmd=GotoView&SWEView=GMC+Online+Account+Activation+View&SWEApplet=GMC+Online+Account+Activation+Form+Applet","gmc_account_activation","status=1,toolbar=no,resizable=yes,dependent=no,scrollbars=yes,width=990 height=650");
   winSiebel.opener = null;
   winSiebel = null;
   }
};




function RunNewUser()
{
	blnChkBrwr = fnCheckBrowser();
	if (blnChkBrwr == 0){
		var WinNewUser = window.open("https://webcache.gmc-uk.org/ecustomer_enu/start.swe?SWECmd=GotoView&SWEView=GMC+MyGMC+User+Registration+Initial+Form+View&SWEApplet=GMC+MyGMC+User+Registration+Initial+Form+Applet","WinNewUser","top=0,left=0,status=1,toolbar=no,resizable=yes,dependent=no,scrollbars=yes,width=990 height=650");
		WinNewUser.opener = null;
		WinNewUser.focus;
		WinNewUser = null;
	}
};

function RunLRMP(){
	blnChkBrwr = fnCheckBrowser();
	if (blnChkBrwr == 0){
		var winLRMP = window.open("http://webcache.gmc-uk.org/gmclrmp_enu/start.swe","_blank","top=0,left=0,status=1,toolbar=no,resizable=yes,dependent=no,scrollbars=yes,width=990 height=650");
		winLRMP.opener = null;
		winLRMP.focus;
		winLRMP = null;
		}
};
function RunCGS(){
	blnChkBrwr = fnCheckBrowser();
	if (blnChkBrwr == 0){
		var WinMyGMC = window.open("http://webcache.gmc-uk.org/gmccgs_enu","WinCGS","top=0,left=0,status=1,toolbar=no,resizable=no,dependent=yes,scrollbars=yes,width=990 height=650");
		WinMyGMC.opener = null;
		WinMyGMC.focus;
		WinMyGMC = null;
		}
};

function RunExternalPortal() 
{
	blnChkBrwr = fnCheckBrowser();
	if (blnChkBrwr == 0){
	var winSiebel = window.open("https://webcache.gmc-uk.org/gmcconnect_enu/login.aspx","gmc_connect","status=1,toolbar=no,resizable=yes,dependent=no,scrollbars=yes,width=990 height=650");
	winSiebel.opener = null;
	winSiebel = null;
   }
};

function RunEPSelfReg() 
{
	var winSiebel = window.open("https://webcache.gmc-uk.org/gmcconnect_enu/start.swe?SWECmd=GotoView&SWEView=GMC+EP+Ext+Self+Registration+View&SWEApplet=GMC+EP+Ext+Self+Registration+Form+Applet","gmc_connect_userreg","status=1,toolbar=no,resizable=yes,dependent=no,scrollbars=yes,width=990 height=650");
	winSiebel.opener = null;
	winSiebel = null;
};





