var urlglobal = "http://www.gambleroad.com";
var freegames = "/free-games/index.html";
var msgSelectCountry = " Select your country / language. \n\n Seleccione su país / idioma. \n\n Sélectionnez votre pays / langue. \n\n Wählen Sie Ihr Land / Sprache. \n\n Seleziona il tuo paese / lingua.";
var msgServerDown = "Sorry, the limit of players has been exceeded at this moment. Please refresh this page in a few minutes";
var sflag = 0;
/*--------------------------------------------------------*/
var USoffer = "/offer/super-slots-free-download";
var AUSofferEN = "/offer/super-slots-free-download";
var NZofferEN = "/offer/super-slots-free-download";
var UKoffer = "/offer/casino-europa-uk-download";
var CANADAofferEN = "/offer/casino-vegas-red-cnd-download";
var FRANCEoffer = "/offer/casino-europa-fr-download";
var CANADAofferFR = "/offer/casino-europa-fr-download";
var GERMANYoffer = "/offer/casino-europa-de-download";
var ITALYoffer = "/offer/casino-europa-it-download";
var SPAINoffer = "/offer/casino-europa-es-download";
var RUSSIAoffer = "/offer/casino-europa-ru-download";
/*--------------------------------------------------------*/
var Homepage = "/";
var AUpage = "/";
var NZpage = "/";
var USpage = "/usa-gambling/index.html";
var UKpage = "/uk-gambling/index.html";
var CNDENpage = "/canada-gambling/index.html";
var FRpage = "/casino-francais/index.html";
var CNDFRpage = "/casino-francais/index.html";
var DEpage = "/deutsche-kasino/index.html";
var ITpage = "/casino-italiano/index.html";
var ESpage = "/casino-espanol/index.html";
var RUpage = "/russian-casino/index.html";
/*--------------------------------------------------------*/
<!-- Hide this code from non-JavaScript browsers
function Stest() {
urlglobal = "http://www.a-mobile-game.com";
sflag = 1;
}
// End hiding -->
/*--------------------------------------------------------*/

function submitvisitor1(formname) {	
var form = eval('document.'+formname);
var country = form.country.value;
var url = '';
if (country == "0" || country == null) {alert( msgSelectCountry );return false;}
else {	 if (country == "1") {path = USoffer;} 
	else if (country == "2") {path = USoffer;}
	else if (country == "3") {path = UKoffer;}
	else if (country == "4") {path = CANADAofferEN;}
	else if (country == "5") {path = FRANCEoffer;}
	else if (country == "6") {path = GERMANYoffer;}
	else if (country == "7") {path = ITALYoffer;}
	else if (country == "8") {path = SPAINoffer;}
	else if (country == "9") {path = CANADAofferFR;}
	else if (country == "10") {path = AUSofferEN;}
	else if (country == "11") {path = NZofferEN;}
	else if (country == "12") {path = RUSSIAoffer;}
	else {path = USoffer;}
	url = urlglobal;
	return url+path;	
	}
}
/*--------------------------------------------------------*/
function submitvisitor2(formname) {	
var form = eval('document.'+formname);
var country = form.country.value;
var url = '';
if (country == "0" || country == null) {alert( msgSelectCountry );return false;}
else if (sflag ==1){alert( msgServerDown );return false;}
else {	 if (country == "1") {path = Homepage;} 
	else if (country == "2") {path = USpage;}
	else if (country == "3") {path = UKpage;}
	else if (country == "4") {path = CNDENpage;}
	else if (country == "5") {path = FRpage;}
	else if (country == "6") {path = DEpage;}
	else if (country == "7") {path = ITpage;}
	else if (country == "8") {path = ESpage;}
	else if (country == "9") {path = CNDFRpage;}
	else if (country == "10") {path = AUpage;}
	else if (country == "11") {path = NZpage;}
	else if (country == "12") {path = RUpage;}
	else {path = Homepage;}
	url = urlglobal;
	return url+path;	
	}
}
/*--------------------------------------------------------*/
