//var strEmAdd="hr@pokerstars.com"; //This now set on page, different on careers/ and careers/ept/
var CRLF="%0D%0A";
var CRLF2="%0D%0A%0D%0A";


function SetText(element,strSubject,strBody)
{
	var obj=document.getElementById(element);
	var html = obj.innerHTML;
	strTemp = 'mailto:' + strEmAdd;
	obj.href = strTemp + "?subject=" + strSubject + "&body=" + strBody;
	obj.innerHTML = html; 
}


function SetTextEmailSubBody(element,strEmail,strSubject,strBody)
{
	var obj=document.getElementById(element);
	var html = obj.innerHTML;
	strTemp = 'mailto:' + strEmail;
	obj.href = strTemp + "?subject=" + strSubject + "&body=" + strBody;
	obj.innerHTML = html; 
}


function SetLinks()
{
	FraudInvestigator();
	FraudInvestigator_ru();
	ProdManPayments();
	BusinessDevAnalyst();
	BiLingCustServ();
	ProductManagerACH();
	VerificationAgent();
}

function FraudInvestigator()
{
	var strSubject="Fraud Investigator - German Speaker";

	var strBody="\
Please answer the following questions and attach a copy of your up to date CV: " + CRLF2 + "\
Are you fluent in German and English (reading, writing and speaking)?  YES/NO " + CRLF + "\
Please give further details:" + CRLF2 + "\
Do you have customer service experience?  YES/NO " + CRLF + "\
Please give further details: " + CRLF2 + "\
Do you have online payments or fraud prevention experience?  YES/NO " + CRLF + "\
Please give further details: " + CRLF2 + "\
What qualities can you bring to the role and the company?  " + CRLF2 + "\
Why would you be the best person for the position? \
"; 
	SetText("FraudInv",strSubject,strBody);
}

function FraudInvestigator_ru()
{
	var strSubject="Fraud Investigator - Russian Speaker";

	var strBody="\
Please answer the following questions and attach a copy of your up to date CV: " + CRLF2 + "\
Are you fluent in Russian and English (reading, writing and speaking)?  YES/NO " + CRLF + "\
Please give further details:" + CRLF2 + "\
Do you have customer service experience?  YES/NO " + CRLF + "\
Please give further details: " + CRLF2 + "\
Do you have online payments or fraud prevention experience?  YES/NO " + CRLF + "\
Please give further details: " + CRLF2 + "\
What qualities can you bring to the role and the company?  " + CRLF2 + "\
Why would you be the best person for the position? \
"; 
	SetText("FraudInv_ru",strSubject,strBody);
}


function ProdManPayments()
{
	var strSubject="Product Manager, Payments";

	var strBody="\
Please answer the following questions and submit a copy of your up to date CV: " + CRLF2 + "\
Do you have experience in payments processing as a Product manager, Project Manager or Business Analyst within the online payment processing or online gaming sector? YES/NO " + CRLF + "\
Do you have a good understanding or experience of at least two of the following payment processing solutions? " + CRLF + "\
ACH" + CRLF + "\
Credit / Debit Cards " + CRLF + "\
E-Wallets" + CRLF + "\
Prepaid /Stored value Cards " + CRLF + "\
Bank Transfer products " + CRLF2 + "\
Do you have experience of managing external Processor/Vendor relationships?  YES/NO" + CRLF2 + "\
Do you have excellent project/ product management experience?  YES/NO" + CRLF2 + "\
"; 
	SetText("ProdManPay",strSubject,strBody);
}


function BusinessDevAnalyst()
{
	var strSubject="Business Development Analyst - Costa Rica";

	var strBody="\
Please answer the following questions and attach a copy of your up to date CV:" + CRLF2 + "\
Are you fluent in Spanish and English (reading, writing and spoken)? YES/NO" + CRLF2 + "\
Are you fluent in Portuguese and English (reading, writing and spoken)? YES/NO" + CRLF2 + "\
Do you have proven work experience in the online payment processing sector? YES/NO" + CRLF2 + "\
Do you have proven work experience in managing business relationships? YES/NO" + CRLF2 + "\
Do you have a demonstrable knowledge and experience of project management? YES/NO" + CRLF2 + "\
Are you comfortable working at a fast pace and able to deal with constant pressure of delivering on simultaneous projects? YES/NO " + CRLF2 + "\
"; 
	SetText("bizdevelanalyst",strSubject,strBody);
}


function BiLingCustServ()
{
	var strSubject="Bi-Lingual Customer Services Representative - London";
	var strEmail="supporthr@pokerstars.com";
	var strBody="\
Please answer the following points appropriately" + CRLF2 + "\
Are you fluent (reading, writing and spoken) in English and at least one of the required languages below?" + CRLF2 + "\
French" + CRLF + "\
Bulgarian" + CRLF + "\
Swedish" + CRLF + "\
Danish" + CRLF + "\
Russian" + CRLF + "\
Italian" + CRLF + "\
Dutch" + CRLF + "\
Polish" + CRLF2 + "\
Please indicate your level of customer services experience below :" + CRLF2 + "\
 Excellent        Very  Good        Good        Some        None" + CRLF2 + "\
Please indicate your level of poker knowledge below:" + CRLF2 + "\
 Excellent        Very  Good        Good        Some        None" + CRLF2 + "\
Please confirm your availability?" + CRLF + "\
Available immediately, Up to one months notice, One months notice +" + CRLF2 + "\
What is your location?" + CRLF2 + "\
" + CRLF2 + "\
"; 
	SetTextEmailSubBody("bilingcustsupp",strEmail,strSubject,strBody);
}


function ProductManagerACH()
{
	var strSubject="Product Manager, ACH Specialist - Isle of Man";
	var strBody="\
Please answer the following questions and submit a copy of your up to date CV:" + CRLF2 + "\
Do you have proven work experience with Automated Clearing Houses? Yes/No" + CRLF + "\
Please provide further details:" + CRLF2 + "\
Have you worked with fraud scrubbing services? Yes/No" + CRLF + "\
Please provide further details:" + CRLF + "\
" + CRLF2 + "\
"; 

	SetText("prodmanch",strSubject,strBody);
}


function VerificationAgent()
{
	var strSubject="Verification Agent - London";
	var strBody="\
Please answer the following questions and attach a copy of your up to date CV:" + CRLF2 + "\
Are you fluent in French and English (reading, writing and speaking)?  YES/NO" + CRLF + "\
Please give further details:" + CRLF2 + "\
Are you fluent in any other languages (reading, writing and speaking)?  YES/NO" + CRLF + "\
Please give further details:" + CRLF2 + "\
Why would this role be of interest to you?" + CRLF2 + "\
What is your knowledge of online betting and poker? " + CRLF2 + "\
What qualities can you bring to the role and the company? " + CRLF2 + "\
Why would you be the best person for the position?" + CRLF + "\
" + CRLF2 + "\
"; 

	SetText("verifagent",strSubject,strBody);
}


