function cubeCheck(ArgPhone,ArgLang){
	for (i=0; i<PhonesInfoArray.length; i++){
		if ((PhonesInfoArray[i][1].toLowerCase() == ArgPhone.toLowerCase())&&(PhonesInfoArray[i][2]!=="-")){
			document.write ("<LI><A href=\"/" +ArgLang+"/products/oxycube/\">OxyCube</A><BR/><BR/>");
			document.write ("<LI><A href=\"/" +ArgLang+"/products/oxybook/\">OxyBook</A><BR/><BR/>");
			document.write ("<LI><A href=\"/" +ArgLang+"/products/oxyfile/\">OxyFile</A><BR/>");
			document.write ("<LI><A href=\"/" +ArgLang+"/products/oxysync/\">OxySync</A>&nbsp;&nbsp;<img src=\"/images/new2.gif\" height=\"30\" width=\"40\" alt=\"New product!\"><BR/><BR/>");
		break;
			}
	}	
}

function DriversCheck (sVendor,sPhoneName,sCaption){
	for (i=0; i<PhonesInfoArray.length; i++){
		if ((PhonesInfoArray[i][1].toLowerCase() == sPhoneName.toLowerCase())&&(PhonesInfoArray[i][0].toLowerCase() == sVendor.toLowerCase())){
			document.write (sCaption);
			document.write ("<UL>")
			count=0;
			if (PhonesLinksArray[i][0] != -1) {document.write ("<LI><a href=\""+PhonesLinksList[PhonesLinksArray[i][0]]+"\" target=\"BLANK\">BlueSoleil Bluetooth 1.x Drivers</a>");count++;}
			if (PhonesLinksArray[i][1] != -1) {document.write ("<LI><a href=\""+PhonesLinksList[PhonesLinksArray[i][1]]+"\" target=\"BLANK\">BlueSoleil Bluetooth 2.x Drivers</a>");count++;}
			if (PhonesLinksArray[i][2] != -1) {document.write ("<LI><a href=\""+PhonesLinksList[PhonesLinksArray[i][2]]+"\" target=\"BLANK\">BlueSoleil Bluetooth 3.x Drivers</a>");count++;}
			if (PhonesLinksArray[i][3] != -1) {document.write ("<LI><a href=\""+PhonesLinksList[PhonesLinksArray[i][3]]+"\" target=\"BLANK\">BlueSoleil Bluetooth 5.x Drivers</a>");count++;}
			if (PhonesLinksArray[i][4] != -1) {document.write ("<LI><a href=\""+PhonesLinksList[PhonesLinksArray[i][4]]+"\" target=\"BLANK\">BlueSoleil Bluetooth 6.x Drivers</a>");count++;}
			if (PhonesLinksArray[i][6] != -1) {document.write ("<LI><a href=\""+PhonesLinksList[PhonesLinksArray[i][6]]+"\" target=\"BLANK\">Microsoft Bluetooth Drivers</a>");count++;}
			if (PhonesLinksArray[i][7] != -1) {document.write ("<LI><a href=\""+PhonesLinksList[PhonesLinksArray[i][7]]+"\" target=\"BLANK\">Widcomm Bluetooth Drivers</a>");count++;}
			if (PhonesLinksArray[i][5] != -1) {document.write ("<LI><a href=\""+PhonesLinksList[PhonesLinksArray[i][5]]+"\" target=\"BLANK\">USB Cable Drivers</a>");count++;}
			document.write ("</UL>")
			if (count==0) {document.write ("No connectivity drivers available.");}
			break;
		}
	}	

}

