// JavaScript Document



function compare() // this searches the js array to see if the product has external data
{ 
	var thisPID = (PID);
	if(thisPID!=''){
		for(i=0;i<PIDarray.length;i++){
			if(PIDarray[i] == thisPID){
				validID = true;
				return;
			}
		}
		validID = false;
		return false;
	}
}
compare();

function checkID(){
	if (validID == true){
	document.write("<script language='javascript' type='text/javascript' src='/Sites/RET-EN-GB/_includes/productUpsell/_js/"+PID+".js'><\/script>");
	}
}
checkID();
//alert('end compare')