//Images
var tImage=new Array()
tImage["hhrPanel"]="/images/news/thumb_hhr.jpg";
tImage["businessChoice"]="/images/news/thumb_choice.jpg";
tImage["incentives"]="/images/news/thumb_current.jpg";
tImage["fvx"]="/images/news/thumb_purchase.jpg";
tImage["findDealer"]="/images/news/thumb_dealers_chevy_gmc.jpg";
tImage["svm"]="/images/news/thumb_locator.jpg";
tImage["fae"]="/images/news/thumb_account.jpg";
tImage["sierra"]="/images/news/thumb_sierra.jpg";
tImage["silverado"]="/images/news/thumb_silverado.jpg";
tImage["gmnews"]="/images/news/thumb_gm.jpg";
tImage["hrchally"]="/images/news/hr_survey.jpg";
tImage["onstar"]="/images/news/thumb_onstar.jpg";
tImage["AstroBody"]="/images/news/thumb_astro.jpg";
tImage["MidBox"]="/images/news/thumb_midbox.jpg";
tImage["PromoCoaching"]="/images/news/thumb_stabilitrak.gif";
tImage["VanSafety"]="/images/news/thumb_van_safety.jpg";
tImage["TechnicalTips"]="/images/news/thumb_tech.jpg";
tImage["toolbox"]="/images/news/thumb_tech.jpg";
tImage["mobility"]="/images/news/thumb_mobility.jpg";
tImage["mobilityCarYear"]=tImage["mobility"];
tImage["fuels"]="/images/news/thumb_fuels.jpg";
tImage["ecosmart"]="/images/news/thumb_ecosmart.jpg";
tImage["gmreinvention"]="/images/news/thumb_re_invention.gif";
tImage["carTruckGuide"]="/images/news/internal_car_and_truck.jpg";
tImage["policeCaprice"]="/images/news/thumb_police.jpg";
tImage["volt"]="/images/news/thumb_volt.jpg";
tImage["HDPressReleases"]="/images/news/thumb_havyduty_pressreleases.jpg";
tImage["SignupGMFleetEmails"]="/images/news/thumb_signup_gmfleet_emails.jpg";
tImage["AltFuels"]="/images/news/Alt_Fuels_promotile.jpg";
tImage["vans"]="/images/news/thumb_vans.jpg";
tImage["businessCard"]="/images/news/thumb_businessCard.jpg";
tImage["AltFuelsBrochure"]="/images/news/Alt_Fuels_promotile.jpg";
tImage["cng"]="/images/news/thumb_cng.jpg";
tImage["linkedin"]="/images/news/thumb_linkedin.jpg";
tImage["carbon"]="/images/news/thumb_carbon.jpg";
tImage["cddl"]="/images/news/thumb_cddl.jpg";

//Titles
var tTitle=new Array()
tTitle["hhrPanel"]="New HHR Panel";
tTitle["businessChoice"]="Business Choice";
tTitle["incentives"]="Retail Alternative";
tTitle["fvx"]="Fleet Purchase Program (FVX)";
tTitle["findDealer"]="Business Central Dealers";
tTitle["svm"]="SVM Locator";
tTitle["fae"]="Government Sales";
tTitle["sierra"]="All-New GMC Sierra";
tTitle["silverado"]="All-New Chevy Silverado";
tTitle["gmnews"]="GM News";
tTitle["hrchally"]="We Welcome Your Feedback";
tTitle["onstar"]="OnStar";
tTitle["AstroBody"]="AstroBody";
tTitle["MidBox"]="MidBox";
tTitle["PromoCoaching"]="StabiliTrak with traction control";
tTitle["VanSafety"]="Passenger Van Safety";
tTitle["TechnicalTips"]="Technical Tips";
tTitle["toolbox"]="Fleet Service Toolbox";
tTitle["mobility"]="GM Mobility Reimbursement Program";
tTitle["mobilityCarYear"]=tTitle["mobility"];
tTitle["fuels"]="GM Alternative Fuels";
tTitle["ecosmart"]="Lower Your Fleet Costs";
tTitle["gmreinvention"]="Watch Our Progress";
tTitle["carTruckGuide"]="Now Available!";
tTitle["policeCaprice"]="All-New 2011 Chevrolet Caprice PPV";
tTitle["volt"]="Get Plugged In";
tTitle["HDPressReleases"]="Heavy Duty Press Releases";
tTitle["SignupGMFleetEmails"]="Sign up for GM Fleet Emails";
tTitle["AltFuels"]="GM Advanced Technology";
tTitle["vans"]="Cargo, Passenger & Cutaway";
tTitle["businessCard"]="More Earnings Faster!";
tTitle["AltFuelsBrochure"]="OUR VEHICLES. OUR MISSION.";
tTitle["cng"]="CNG Option for GM Vans";
tTitle["linkedin"]="Join Us on LinkedIn";
tTitle["carbon"]="Doing Our Part";
tTitle["cddl"]="Courtesy Delivery Dealer List";

//Copies
var tCopy=new Array()
tCopy["hhrPanel"]="Take something cool to work. Introducing the new 2007 Chevy HHR Panel.";
tCopy["businessChoice"]="GM Business Choice offers four great options to equip your eligible new Chevy or GMC vehicles.";
tCopy["incentives"]="Find great cash-back deals on the latest GM models.";
tCopy["fvx"]="Get allowances on select GM models for varied users (for qualified fleet customers).";
tCopy["findDealer"]="The one-stop shop for business owner's vehicle needs.";
tCopy["svm"]="GM Special Vehicle Manufacturers provide quality upfit products to enhance your GM chassis and vans.";
tCopy["fae"]="Get support for your government vehicle needs.";
tCopy["sierra"]="A heavy-duty breakthrough: The all-new 2007 GMC Sierra.";
tCopy["silverado"]="The new standard in full-size pickups: The all-new 2007 Chevy Silverado.";
tCopy["gmnews"]="Get the latest news and current offers.";
tCopy["hrchally"]="You may be asked to participate in a Customer Satisfaction Survey, conducted by HR Chally. If you’re contacted, please participate. See your FAE with any questions.";
tCopy["onstar"]="Gain greater productivity and efficiency by using OnStar features like Turn-by-Turn Navigation.";
tCopy["AstroBody"]="Learn how to upfit your vehicle with AstroBody features & options.";
tCopy["MidBox"]="Learn how to upfit your vehicle with MidBox features & options.";
tCopy["PromoCoaching"]="Watch the video about GM passenger van safety features.";
tCopy["VanSafety"]="The most comprehensive standard safety package ever offered on a GM full-size van.";
tCopy["TechnicalTips"]="Discover ways to lower your fleet maintenance and repair expenses.";
tCopy["toolbox"]="Find the right tools to maintain your fleet.";
tCopy["mobility"]="Get two added years of OnStar&dagger; and up to $1000&sect; on eligible equipment installed in new eligible GM vehicles.";
tCopy["mobilityCarYear"]="Get two added years of OnStar&sect; and up to $1000** on eligible equipment installed in new eligible GM vehicles.";
tCopy["fuels"]="Gas-friendly ways to move your business.";
tCopy["ecosmart"]="Innovative online training to help you lower fleet operating costs.";
tCopy["gmreinvention"]="We're reinventing the automobile and our company. Follow our progress, see our latest innovations and join our reinvention.";
tCopy["carTruckGuide"]="Review latest vehicle information on our entire lineup of 2012 Cars and Trucks in our new easier to use &ldquo;flipbook&rdquo; format";
tCopy["policeCaprice"]="Investigate the powerful, intelligent and spacious police patrol vehicle.";
tCopy["volt"]="ChevroletVoltage.com &mdash; an electric vehicle enthusiast social network.";
tCopy["HDPressReleases"]="View press releases for more details about the new 2011 Chevrolet Silverado HD and 2011 GMC Sierra HD.";
tCopy["SignupGMFleetEmails"]="Subscribe to our newsletter for the latest updates on fleet vehicles, current offers and more.";
tCopy["AltFuels"]="Discover our latest fuel solutions-the technology, the vehicles, the emission standards, plus credits and incentives.";
tCopy["vans"]="Browse our full lineup of Chevy and GMC vans and find the right one for your business needs.";
tCopy["businessCard"]="Get 5% Earnings plus more when you use your GM Business Card at any authorized GM Dealership.";
tCopy["AltFuelsBrochure"]="Read more about our advanced fuel solutions and the technology that's making them happen.";
tCopy["cng"]="The 2011 Chevrolet Express and GMC Savana vans offer a Compressed Natural Gas (CNG) option for fleet and commercial customers.";
tCopy["linkedin"]="Share information. Ask questions. Connect with our Customer Service team and other business vehicle customers.";
tCopy["carbon"]="Chevrolet is committed to reducing our carbon footprint by investing in greenhouse gas-reducing projects in local communities.";
tCopy["cddl"]="Fleet Customers: Use this list to locate Courtesy Delivery Dealers by city and state. <!--/br></br> <a href=\"javascript:window.open(\'http://stagetomcat.mrm.com.ar/gmcourtesy/\',\'gm\',\'top=0,left=0\');void(0);\">Go to Gmcourtesy >></a></br--> ";

//urls
var tURL=new Array()
tURL["hhrPanel"]="/pdf/HRRPanel.pdf";
tURL["businessChoice"]="/businessChoice/gmfleet/index.jsp?cmp=BusChoice_Fleet ";
tURL["incentives"]="/sitemap/incentives/currentOffers.jsp";
tURL["fvx"]="/smallbusiness/incentives/2012fvx.jsp?from=CO";
tURL["findDealer"]="/business-central-dealers/index.jsp";
tURL["svm"]="/sitemap/svmlocator_landing.jsp";
tURL["fae"]="/government/ordering/commercial-government-police-sales-managers.jsp";
tURL["sierra"]="/pages/submodelOverview/2007_GMC_Sierra_1500.jsp";
tURL["silverado"]="/pages/submodelOverview/2007_Chevrolet_Silverado_1500.jsp";
tURL["gmnews"]="http://gm.com/";
tURL["hrchally"]="";
tURL["onstar"]="http://www.onstar.com/web/portal/landing/";
tURL["AstroBody"]="/pdf/Astro_Body_Hero_Card.pdf";
tURL["MidBox"]="/pdf/Midbox_Storage.pdf";
tURL["PromoCoaching"]="/sitemap/stabiliTrak/stabiliTrak.jsp";
tURL["VanSafety"]="javascript:flashPopUp('/flash/van-safety-video/vansafetyvideo.jsp','Safety','width=420,height=340')";
tURL["TechnicalTips"]="/service-maintenance/maintenance-info/technicaltips.jsp";
// [SUSI-334] tURL["toolbox"]="/pdf/Toolboxvr2.pdf";
tURL["toolbox"]="/pdf/Toolboxvr3.pdf";
tURL["mobility"]="http://www.gmmobility.com/";
tURL["mobilityCarYear"]=tURL["mobility"];
tURL["fuels"]="http://www.gmfleet.com/alternative-fuels/";
tURL["ecosmart"]="http://gmfleet.com/ecosmart";
tURL["gmreinvention"]="http://www.gmreinvention.com/?brandId=fc&src=hom&evar24=div_oth_reinventland_fleet";
// [SUSI-159] tURL["carTruckGuide"]="/pdf/GM_Fleet_and_Commercial_Car_and_Truck_Guide_-_2010.pdf";
// [SUSI-834] tURL["carTruckGuide"]="/pdf/GM_Fleet_and_Commercial_Car_and_Truck_Guide_-_2011_10-18-10.pdf";
tURL["carTruckGuide"]="http://gmfleetguide.mynetworkcontent.com/";
tURL["policeCaprice"]="http://www.chevroletcapriceppv.com";
tURL["volt"]="http://chevroletvoltage.com/?cid=fleetaltfuels";
tURL["HDPressReleases"]="http://media.gm.com/content/media/us/en/news.brand_gm.html/GM/EN/News/FleetCommercial";
tURL["AltFuels"]="/alternative-fuels";
tURL["vans"]="/vans/index.jsp ";
tURL["businessCard"]="https://www.gmbusinesscard.com/GMBusinessCard/";
tURL["AltFuelsBrochure"]="/pdf/Alt-Fuels-Brochure.pdf";
tURL["cng"]="/compressed-natural-gas-vans/index.jsp";
tURL["linkedin"]="http://www.linkedin.com/groupRegistration?gid=3703247";
tURL["carbon"]="http://www.chevycarbonreduction.com/";
tURL["cddl"]="/pdf/Courtesy-Delivery-Enrolled-Dealers-011012.xls";


//target
var tOpenResult=new Array()
tOpenResult["hhrPanel"]="_blank";
tOpenResult["businessChoice"]="_blank";
tOpenResult["incentives"]="_self";
tOpenResult["fvx"]="_self";
tOpenResult["findDealer"]="_self";
tOpenResult["svm"]="_self";
tOpenResult["fae"]="_self";
tOpenResult["sierra"]="_self";
tOpenResult["silverado"]="_self";
tOpenResult["gmnews"]="_blank";
tOpenResult["hrchally"]="_self";
tOpenResult["onstar"]="_blank";
tOpenResult["AstroBody"]="_blank";
tOpenResult["MidBox"]="_blank";
tOpenResult["PromoCoaching"]="_self";
tOpenResult["VanSafety"]="";
tOpenResult["TechnicalTips"]="_self";
tOpenResult["toolbox"]="_blank";
tOpenResult["mobility"]="_blank";
tOpenResult["mobilityCarYear"]=tOpenResult["mobility"];
tOpenResult["fuels"]="_blank";
tOpenResult["ecosmart"]="_blank";
tOpenResult["gmreinvention"]="_blank";
tOpenResult["carTruckGuide"]="_blank";
tOpenResult["policeCaprice"]="_blank";
tOpenResult["volt"]="_blank";
tOpenResult["HDPressReleases"]="_blank";
tOpenResult["SignupGMFleetEmails"]="_self";
tOpenResult["vans"]="_self";
tOpenResult["businessCard"]="_blank";
tOpenResult["AltFuelsBrochure"]="_blank";
tOpenResult["cng"]="_self";
tOpenResult["linkedin"]="_blank";
tOpenResult["carbon"]="_blank";
tOpenResult["cddl"]="_self";

//additional information
var tAdditional=new Array()
tAdditional["hhrPanel"]="Learn More";
tAdditional["businessChoice"]="Learn More";
tAdditional["incentives"]="Learn More";
tAdditional["fvx"]="Learn More";
tAdditional["findDealer"]="Learn More";
tAdditional["svm"]="Learn More";
tAdditional["fae"]="Learn More";
tAdditional["sierra"]="Learn More";
tAdditional["silverado"]="Learn More";
tAdditional["gmnews"]="Learn More";
tAdditional["hrchally"]="";
tAdditional["onstar"]="Learn More";
tAdditional["AstroBody"]="Learn More";
tAdditional["MidBox"]="Learn More";
tAdditional["PromoCoaching"]="Learn More";
tAdditional["VanSafety"]="Watch the Video";
tAdditional["TechnicalTips"]="Learn More";
tAdditional["toolbox"]="Learn More";
tAdditional["mobility"]="Learn More";
tAdditional["mobilityCarYear"]=tAdditional["mobility"];
tAdditional["fuels"]="Learn More";
tAdditional["ecosmart"]="Learn More";
tAdditional["gmreinvention"]="Learn More";
tAdditional["carTruckGuide"]="Learn More >>";
tAdditional["policeCaprice"]="Learn More";
tAdditional["volt"]="Join Now";
tAdditional["HDPressReleases"]="Learn More";
tAdditional["SignupGMFleetEmails"]="Sign Up";
tAdditional["AltFuels"]="Learn More";
tAdditional["vans"]="Learn More";
tAdditional["businessCard"]="Earnings Made Easy";
tAdditional["AltFuelsBrochure"]="Download the Brochure (PDF) ";
tAdditional["cng"]="Learn More";
tAdditional["linkedin"]="Go";
tAdditional["carbon"]="See how we're helping";
tAdditional["cddl"]="Download the List";

//Promotiles Omnitures
var tRel=new Array()
tRel["hhrPanel"]="";
tRel["businessChoice"]="";
tRel["incentives"]="";
tRel["fvx"]="";
tRel["findDealer"]="";
tRel["svm"]="";
tRel["fae"]="omni-FAEPROMOTILE";
tRel["sierra"]="";
tRel["silverado"]="";
tRel["gmnews"]="";
tRel["hrchally"]="";
tRel["onstar"]="";
tRel["AstroBody"]="";
tRel["MidBox"]="";
tRel["PromoCoaching"]="";
tRel["VanSafety"]="";
tRel["TechnicalTips"]="";
tRel["mobility"]="omni-MobilityPROMOTILE";
tRel["toolbox"]="omni-ServiceToolboxPROMOTILE";
tRel["mobilityCarYear"]=tRel["mobility"];
tRel["fuels"]="omni-AltFuelsPROMOTILE";
tRel["ecosmart"]="";
tRel["gmreinvention"]="";
tRel["policeCaprice"]="omni-POLICECAPRICE";
tRel["volt"]="";
tRel["HDPressReleases"]="";
tRel["SignupGMFleetEmails"]="";
tRel["businessCard"]="";
tRel["AltFuelsBrochure"]="";
tRel["cng"]="";
tRel["linkedin"]="";

function Tile(){
	this.tImages=tImage;
	this.tTitles=tTitle;
	this.tTexts=tCopy;
	this.tURLs=tURL;	
	this.getPageTiles=getPageTiles;
	this.tOpenResult=tOpenResult;
	this.tAdditional=tAdditional;
	this.tRel=tRel;
}

function getPageTiles(pTile1, pTile2, pTile3, pTile4){
	
	var cTileHead;
	var cTileEnd;
	if(pTile1 == "mobility"){
		cTileHead = "<div id=\"toolNews\" style=\"margin-top:16px;\">";
	}else{
		cTileHead = "<div id=\"toolNews\">";
	}			
	if(pTile1 == "carTruckGuide"){
		cTileEnd = "</a> <p class=\"promotileCT\"></p>";
	}else{
		cTileEnd = " &gt;&gt;</a>";
	}
	if(pTile1 == "hrchally"){
		cTileEnd = "";
	}
	
	if (pTile2 != undefined) {
		if (pTile3 != undefined) {
			if (pTile4 != undefined) {
				howMany = 4;
			}else {
				howMany = 3;
			}
		}else {
			howMany = 2;
		}
	}else {
		howMany = 1;
	}
	
	var cTilesContent	=	cTileHead +
							"<div class=\"toolNewItem\">" +
								"<a rel=\"" + this.tRel[pTile1] +"\" name=\"" + pTile1 +"\" href=\"javascript:trackAndGo('s_pageName-GM FLEET | SMALL BUSINESS | HOME*s_prop24-fleet:us:smallbusiness: promotile:1."+howMany+":"+this.tTitles[pTile1]+"','"+this.tURLs[pTile1]+"','"+this.tOpenResult[pTile1]+"')\"><img src=\""+ this.tImages[pTile1] +"\"/></a>" +
								"<h1>"+ this.tTitles[pTile1] +"</h1>" +
								"<p>"+ this.tTexts[pTile1] +"</p>" +
								"<a rel=\"" + this.tRel[pTile1] +"\" name=\"" + pTile1 +"\" href=\"javascript:trackAndGo('s_pageName-GM FLEET | SMALL BUSINESS | HOME*s_prop24-fleet:us:smallbusiness: promotile:1."+howMany+":"+this.tTitles[pTile1]+"','"+this.tURLs[pTile1]+"','"+this.tOpenResult[pTile1]+"')\">"+ this.tAdditional[pTile1] + cTileEnd +
							"</div>"; 
		if (pTile2 != undefined){					
			cTilesContent= cTilesContent + "<div class=\"toolNewItem\">" +
								"<a rel=\"" + this.tRel[pTile2] +"\" name=\"" + pTile2 +"\" href=\"javascript:trackAndGo('s_pageName-GM FLEET | SMALL BUSINESS | HOME*s_prop24-fleet:us:smallbusiness: promotile:2."+howMany+":"+this.tTitles[pTile2]+"','"+this.tURLs[pTile2]+"','"+this.tOpenResult[pTile2]+"')\"><img src=\""+ this.tImages[pTile2] +"\"/></a>" +
								"<h1>"+ this.tTitles[pTile2] +"</h1>" +
								"<p>"+ this.tTexts[pTile2] +"</p>" +
								"<a rel=\"" + this.tRel[pTile2] +"\" name=\"" + pTile2 +"\" href=\"javascript:trackAndGo('s_pageName-GM FLEET | SMALL BUSINESS | HOME*s_prop24-fleet:us:smallbusiness: promotile:2."+howMany+":"+this.tTitles[pTile2]+"','"+this.tURLs[pTile2]+"','"+this.tOpenResult[pTile2]+"')\">"+ this.tAdditional[pTile2] +" &gt;&gt;</a>" +
							"</div>";	
		}
		if (pTile3 != undefined){					
			cTilesContent= cTilesContent + "<div class=\"toolNewItem\">" +
								"<a rel=\"" + this.tRel[pTile3] +"\" name=\"" + pTile3 +"\" href=\"javascript:trackAndGo('s_pageName-GM FLEET | SMALL BUSINESS | HOME*s_prop24-fleet:us:smallbusiness: promotile:3."+howMany+":"+this.tTitles[pTile3]+"','"+this.tURLs[pTile3]+"','"+this.tOpenResult[pTile3]+"')\"><img src=\""+ this.tImages[pTile3] +"\"/></a>" +
								"<h1>"+ this.tTitles[pTile3] +"</h1>" +
								"<p>"+ this.tTexts[pTile3] +"</p>" +
								"<a rel=\"" + this.tRel[pTile3] +"\" name=\"" + pTile3 +"\" href=\"javascript:trackAndGo('s_pageName-GM FLEET | SMALL BUSINESS | HOME*s_prop24-fleet:us:smallbusiness: promotile:3."+howMany+":"+this.tTitles[pTile3]+"','"+this.tURLs[pTile3]+"','"+this.tOpenResult[pTile3]+"')\">"+ this.tAdditional[pTile3] +" &gt;&gt;</a>" +
							"</div>";	
		}
		if (pTile4 != undefined){					
			cTilesContent= cTilesContent + "<div class=\"toolNewItem\">" +
								"<a rel=\"" + this.tRel[pTile4] +"\" name=\"" + pTile4 +"\" href=\"javascript:trackAndGo('s_pageName-GM FLEET | SMALL BUSINESS | HOME*s_prop24-fleet:us:smallbusiness: promotile:4."+howMany+":"+this.tTitles[pTile4]+"','"+this.tURLs[pTile4]+"','"+this.tOpenResult[pTile4]+"')\"><img src=\""+ this.tImages[pTile4] +"\"/></a>" +
								"<h1>"+ this.tTitles[pTile4] +"</h1>" +
								"<p>"+ this.tTexts[pTile4] +"</p>" +
								"<a rel=\"" + this.tRel[pTile4] +"\" name=\"" + pTile4 +"\" href=\"javascript:trackAndGo('s_pageName-GM FLEET | SMALL BUSINESS | HOME*s_prop24-fleet:us:smallbusiness: promotile:4."+howMany+":"+this.tTitles[pTile4]+"','"+this.tURLs[pTile4]+"','"+this.tOpenResult[pTile4]+"')\">"+ this.tAdditional[pTile4] +" &gt;&gt;</a>" +
							"</div>";	
		}
	cTilesContent= cTilesContent + 	"</div>";			
	return cTilesContent;	
}

function PageTiles(pTiles1, pTiles2, pTiles3, pTiles4){
	this.tiles1=pTiles1;
	this.tiles2=pTiles2;
	this.tiles3=pTiles3;
	this.tiles4=pTiles4;
}

function getRotationTiles(pfileName, pRotation1, pRotation2, pRotation3, pRotation4){
	var aTiles1,aTiles2,aTiles3,aTiles4,aTilesContainer,pTitles;
	pTitles=info[pfileName];
	aTiles1=pTitles.tiles1;
	aTiles2=pTitles.tiles2;
	aTiles3=pTitles.tiles3;
	aTiles4=pTitles.tiles4;
	aTilesContainer = new Array (aTiles1[pRotation1], aTiles2[pRotation2], aTiles3[pRotation3], aTiles4[pRotation4]);
	return aTilesContainer;
}

function getLength(fileName){
	var cont;
	if(info[fileName]){
		var i = new PageTiles(info[fileName].tiles1, info[fileName].tiles2, info[fileName].tiles3, info[fileName].tiles4);
		cont = new Array(i.tiles1.length, i.tiles2.length, i.tiles3.length, i.tiles4.length);
	}
	return cont;
}
function flashPopUp(URL,winName,params){
	//**
	window.open(URL,winName,params);
	//**
}

function trackAndGo (data,url,target) {
	var parameters = data.split("*");
	
	for (x=0;x<parameters.length;x++) {
	
		parameters[x] = parameters[x].replace("GMC-Truck-Month:Oct11", "GMCTruckMonth:Oct11");
		var info = parameters[x].split("-");
		if (info[0] == 's_pageName') s_pageName_val = info[1];
		if (info[0] == 's_prop24') s_prop24_val = info[1].replace("GMCTruckMonth:Oct11", "GMC-Truck-Month:Oct11");
		
	}
	
	clickTrack2({s_pageName: s_pageName_val, s_prop24: s_prop24_val});
	
	if (target == '_blank') {
		window.open(url,'blank');
	}else {
		setTimeout(function(){trackAndGoUrl(url)},2000);
	}
}

function trackAndGoUrl(url) {
	location.href = url;
}

