function strprocSiteName( strSite )
{
	switch( "" + strSite )
	{
	case "abarg": return "Aircraftbargains";
	case "abrowse": return "AircraftBrowser.com";
	case "acmp": return "AircraftMarketPlace";
	case "aeroc": return "AeroController";
	case "aeros": return "AeroSales.aero";
	case "afors": return "A-Fors";
	case "apmart": return "AirplaneMart.com";
	case "apt": return "AirplaneTrader.com";
	case "aso": return "Aircraft Shopper Online";
	case "asw": return "Aircraft Sales World";
	case "atol": return "Aero Trader OnLine";
	case "avbuyer": return "AvBuyer.com";
	case "avcls": return "Aviation Classifieds";
	case "avsale": return "www.aviatorsale.com";
	case "bat": return "Boeing Aircraft Trading";
	case "bnx": return "BellNet eXchange";
	case "chub": return "Charter Hub";
	case "controller": return "Controller.com";
	case "fbt": return "usedaircraft.com";
	case "fplan": return "FlightPlanet.com";
	case "gas": return "Gardner Aircraft Sales";
	case "globair": return "GlobalAir.com";
	case "gps": return "GlobalPlaneSearch";
	case "gva": return "GreatVehicles/Airplanes";
	case "habal": return "Hot Air Ballooning";
	case "hai": return "Helicopter Association International";
	case "hgoa": return "Heli-Go-Air";
	case "hotline": return "Aviators Hot Line";
	case "ipilot": return "iPilot";
	case "jlist": return "James List";
	case "myplane": return "MyPlane.com";
	case "pcheck": return "PlaneCheck";
	case "pex": return "The Plane Exchange";
	case "pmart": return "planemart.com";
	case "rock": return "Rotors of the Rockies";
	case "speed": return "SpeedNews";
	case "tga": return "TransGlobal Aviation";
	case "wsp": return "We Sell Plant";
	}
	return "undefined";
}
function strprocSiteUrl( strSite )
{
	switch( "" + strSite )
	{
	case "abarg": return "www.aircraftbargains.com";
	case "abrowse": return "www.aircraftbrowser.com";
	case "acmp": return "www.acmp.com";
	case "aeroc": return "aerocontroller.com";
	case "aeros": return "www.aerosales.aero";
	case "afors": return "www.afors.com";
	case "apmart": return "www.airplanemart.com";
	case "apt": return "www.airplanetradeonline.com";
	case "aso": return "www.aso.com";
	case "asw": return "www.aircraftsalesworld.com";
	case "atol": return "www.aerotrader.com";
	case "avbuyer": return "www.avbuyer.com";
	case "avcls": return "www.aviationclassifieds.com";
	case "avsale": return "www.aviatorsale.com";
	case "bat": return "www.boeing.com";
	case "bnx": return "www.bellnetx.com";
	case "chub": return "www.charterhub.com";
	case "controller": return "www.controller.com";
	case "fbt": return "www.usedaircraft.com";
	case "fplan": return "www.flightplanet.com";
	case "gas": return "www.gardneraircraft.com";
	case "globair": return "www.globalair.com";
	case "gps": return "www.globalplanesearch.com/gpsads/aircraft-for-sale.htm";
	case "gva": return "www.greatvehicles.com/airplanes";
	case "habal": return "www.hotairballooning.com";
	case "hai": return "www.rotor.com";
	case "hgoa": return "www.heligoair.co.uk";
	case "hotline": return "www.aviatorshotline.com";
	case "ipilot": return "www.ipilot.com";
	case "jlist": return "www.jameslist.com";
	case "myplane": return "www.myplane.com";
	case "pcheck": return "www.planecheck.com";
	case "pex": return "forsale.theplaneexchange.com";
	case "pmart": return "www.planemart.com";
	case "rock": return "www.rotorsoftherockies.com";
	case "speed": return "www.speednews.com";
	case "tga": return "www.transglobalaviation.net";
	case "wsp": return "www.wesellplant.com";
	}
	return "undefined";
}
function ws( strSite )
{
	var s = strprocSiteName( strSite );
	if ( strSite == "ebayus" )
		return "<a href='http://rover.ebay.com/rover/1/711-53200-19255-0/1?type=4&campid=5335818078&toolid=10001&customid=LogoUS&mpre=http%3A%2F%2Fwww.ebay.com' onMouseOver=\"window.status='Ebay US';return true;\" onMouseOut=\"window.status=gpsMsg();return true;\" target='_blank' rel='nofollow'>Ebay US</a>";
	if ( strSite == "ebayca" )
		return "<a href='http://rover.ebay.com/rover/1/706-53473-19255-0/1?type=4&campid=5335841865&toolid=10001&customid=LogoCA&mpre=http%3A%2F%2Fwww.ebay.ca' onMouseOver=\"window.status='Ebay CA';return true;\" onMouseOut=\"window.status=gpsMsg();return true;\" target='_blank' rel='nofollow'>Ebay CA</a>";
	if ( strSite == "ebayuk" )
		return "<a href='http://rover.ebay.com/rover/1/710-53481-19255-0/1?type=4&campid=5335841867&toolid=10001&customid=LogoUK&mpre=http%3A%2F%2Fwww.ebay.co.uk' onMouseOver=\"window.status='Ebay UK';return true;\" onMouseOut=\"window.status=gpsMsg();return true;\" target='_blank' rel='nofollow'>Ebay UK</a>";
	if ( strSite == "ebayau" )
		return "<a href='http://rover.ebay.com/rover/1/705-53470-19255-0/1?type=4&campid=5335841866&toolid=10001&customid=LogoAU&mpre=http%3A%2F%2Fwww.ebay.com.au' onMouseOver=\"window.status='Ebay AU';return true;\" onMouseOut=\"window.status=gpsMsg();return true;\" target='_blank' rel='nofollow'>Ebay AU</a>";
	if ( s == "undefined" )
		return "<a href=\"../aircraft/gpspro.htm\">GPS-Pro Members Only</a>";
	else return "<a href=\"http://" + strprocSiteUrl( strSite ) + "\" target=\"" + s + "\">" + s + "</a>";
}
