/*

	This is the configuration JavaScript file.  Change the settings
	in the following section to match your affiliate tracking information.

*/

affiliate_usernameus = "55318";
affiliate_username = "fiskur";
affiliate_profile = "gpconet";

  ////////////////////////////////////////////////////////////////
 //                DO NOT EDIT BELOW THIS LINE                 //
////////////////////////////////////////////////////////////////

strSubAffLink = "http://adv.casinoblasters.com/index.php?" + affiliate_username;

strEuroLink = "http://banner.goldenpalace.com/cgi-bin/redir.cgi?id=N&member=" + affiliate_username + "&profile=thineuro";
strPoundLink = "http://banner.goldenpalace.com/cgi-bin/redir.cgi?id=N&member=" + affiliate_username + "&profile=thinpound";
strFrenchLink = "http://banner.goldenpalace.com/cgi-bin/redir.cgi?id=N&member=" + affiliate_username + "&profile=thinfr";
strSpanishLink = "http://banner.goldenpalace.com/cgi-bin/redir.cgi?id=N&member=" + affiliate_username + "&profile=thines";

function CasinoAffiliateProgram(){
	strSubAffLinkURL = "http://adv.casinoblasters.com/index.php?" + affiliate_username;
}

function downloadCasinoSoft(){
	strDownloadURL = "http://banner.goldenpalace.com/cgi-bin/SetupCasino.exe?member=" + affiliate_username;
	if (affiliate_profile != "") strDownloadURL += "&profile=" + affiliate_profile;
	document.location = strDownloadURL;
}

function downloadCasinoSoftUS(){
	strDownloadURL = "http://www.gocasino.com/download/download_engine.php?c=" + affiliate_usernameus;
	if (affiliate_profile != "") strDownloadURL += "&profile=" + affiliate_profile;
	document.location = strDownloadURL;
}

function downloadPokerSoft(){
	strDownloadURL = "http://goldenpalacepoker.com/global/installer/v1/download.php?skin=gpi&member=" + affiliate_username;
	if (affiliate_profile != "") strDownloadURL += "&profile=" + affiliate_profile;
	document.location = strDownloadURL;
}

function PopWindow(Url) {
	var WindowWidth = 500;
	var WindowHeight = 400;
	var WindowTop = (screen.availHeight/2) - (WindowHeight/2);
	var WindowLeft = (screen.availWidth/2) - (WindowWidth/2);
	var WindowProps = 'toolbar=0,location=0,status=0,menubar=0,scrollbars=yes,resizable,width='+WindowWidth+',height='+WindowHeight+',left='+WindowLeft+',top='+WindowTop+',screenx='+WindowLeft+',screeny='+WindowTop;
	PoppedWindow = window.open(Url,"PoppedWindow",WindowProps);
	return;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
