//Holds the Flowplayer license for each branding url.
//Each branding url will need to be added.

function getFlowplayerLicense(){
	var match = /http:\/\/([^/]*)/.exec(window.location);
	var site = match[1];
	var parts = match[1].split(".");
	var outProductKey = '#@60cf39ecb1fdacd5643';//key for 3.2.x default
	if (parts.length > 2) {
		site = parts[parts.length-2] + "." + parts[parts.length-1];
	}
	if(site == "streamvu.com"){ 
		outProductKey = '#@8121d44b7cdb180f30b';//key for 3.2.x, streamvu.com
	}else if(site == "streamvutv.com"){ 
		outProductKey = '#@a3c56bcedf57860ea02';//key for 3.2.x, www.streamvutv.com
	}else if(site == "streamvutv.net"){ 
		outProductKey = '#@c24ee44af3c55b40dbc';//key for 3.2.x, www.streamvutv.net
	}else if(site == "juicetvjamaica.com"){ 
		outProductKey = '#@93660e74922d414ce21';//key for 3.2.x, juicetvjamaica.com
	}else if(site == "showcaseinc.com"){ 
		outProductKey = '#@09e4173fed20fc11e01';//key for 3.2.x, www.showcaseinc.com
	}else if(site == "tvamn.com"){ 
		outProductKey = '#@88631cca49de195bc55';//key for 3.2.x, www.tvamn.com
	}else if(site == "leadfootvideo.net"){ 
		outProductKey = '#@71d7b9651f5531cbdd8';//key for 3.2.x, www.leadfootvideo.net
	}
	//pfLog("in getFlowplayerLicense, site: " + site + ", ourProductKey: " + outProductKey);
	return outProductKey;
}

