function dispAltData(itemURL){	return itemURL.substring(itemURL.lastIndexOf('/')+1,itemURL.length);}function rndMainLeftBannerImage(){	var bIndex = 1;	var vkMainLeftBanner= new Array(5)	vkMainLeftBanner[1]="http://vintageking.com/Tree-Audio-500-by-Inward-Connections-12-Channel";	vkMainLeftBanner[2]="http://vintageking.com/Shop-New-Categories/Console-Control-Surface-Specials/SSL-Matrix-Console";	vkMainLeftBanner[3]="http://vintageking.com/New-Brands/Neve-AMS/Neve-33609-J-D";	vkMainLeftBanner[4]="http://vintageking.com/New-Brands/Neve-AMS/Neve-1073-CH";	vkMainLeftBanner[5]="http://vintageking.com/Helios-Racked-Preamp-Modules";		  	stImgID1=Math.round(Math.random()*4)+1;	bIndex = stImgID1;	document.write("<a href="+vkMainLeftBanner[bIndex]+" border=0 target='_top'><IMG src='/site/banners/Main_Left"+bIndex+".jpg' alt='"+dispAltData(vkMainLeftBanner[bIndex])+"' name=main1 width=477 height=366 border=0></a>\n");} function rndMainRightBannerImage(){	var bIndex = 1;	var vkMainRightBanner= new Array(4)	vkMainRightBanner[1]="http://vintageking.com/New-Brands/Barefoot-Sound";	vkMainRightBanner[2]="http://vintageking.com/New-Brands/Retro-Instruments/Retro-Instruments-Retro-176-Limiting-Amplifier"; 	vkMainRightBanner[3]="http://vintageking.com/New-Brands/Chandler-Limited";	vkMainRightBanner[4]="http://vintageking.com/New-Brands/LaChapell-Audio/LaChapell-Audio-583e";   	stImgID1=Math.round(Math.random()*3)+1;	bIndex = stImgID1;	document.write("<a href="+vkMainRightBanner[bIndex]+" border=0 target='_top'><IMG src='/site/banners/Main_Right"+bIndex+".jpg' alt='"+dispAltData(vkMainRightBanner[bIndex])+"' name=main1 width=477 height=366 border=0></a>\n");} function rndBottomOneAdImage(){	var bIndex = 1;	var vkbottom_one_ad= new Array(3)	vkbottom_one_ad[1]="http://vintageking.com/New-Brands/ATC-Loudspeakers/ATC-Loudspeakers-SCM150ASL";	vkbottom_one_ad[2]="http://vintageking.com/New-Brands/Digidesign-Pro-Tools-HD-Control-Surfaces";	vkbottom_one_ad[3]="http://vintageking.com/API-1608-Discrete-16-Channel-Console";	stImgID1=Math.round(Math.random()*2)+1;	bIndex = stImgID1;	document.write("<a href="+vkbottom_one_ad[bIndex]+" border=0 target='_top'><IMG src='https://checkout.netsuite.com/c.360669/site/files/bottom_banners2/bottom_one_ad"+bIndex+".jpg' alt='"+dispAltData(vkbottom_one_ad[bIndex])+"' name=bottom_one_ad width=235 height=120 border=0></a>\n");} function rndBottomTwoAdImage(){	var bIndex = 1;	var vkbottom_two_ad= new Array(4)	vkbottom_two_ad[1]="http://vintageking.com/New-Brands/Standard-Audio/Standard-Audio-Level-Or";	vkbottom_two_ad[2]="http://vintageking.com/Wunder-CM7GT-M7";	vkbottom_two_ad[3]="http://vintageking.com/New-Brands/AEA/AEA-RPQ-Ribbon-Preamp";	vkbottom_two_ad[4]="http://vintageking.com/New-Brands/Lavry/Lavry-Black-DA-11";		stImgID1=Math.round(Math.random()*3)+1;	bIndex = stImgID1;	document.write("<a href="+vkbottom_two_ad[bIndex]+" border=0 target='_top'><IMG src='https://checkout.netsuite.com/c.360669/site/files/bottom_banners2/bottom_two_ad"+bIndex+".jpg' alt='"+dispAltData(vkbottom_two_ad[bIndex])+"' name=bottom_two_ad width=235 height=120 border=0></a>\n");} function rndBottomThreeAdImage(){	var bIndex = 1;	var vkbottom_three_ad= new Array(3)	vkbottom_three_ad[1]="http://vintageking.com/New-Brands/Telefunken-USA";	vkbottom_three_ad[2]="http://vintageking.com/Thermionic-Culture-Fat-Bustard";	vkbottom_three_ad[3]="http://vintageking.com/New-Brands/Weiss";		stImgID1=Math.round(Math.random()*2)+1;	bIndex = stImgID1;	document.write("<a href="+vkbottom_three_ad[bIndex]+" border=0 target='_top'><IMG src='https://checkout.netsuite.com/c.360669/site/files/bottom_banners2/bottom_three_ad"+bIndex+".jpg' alt='"+dispAltData(vkbottom_three_ad[bIndex])+"' name=bottom_three_ad width=235 height=120 border=0></a>\n");} function rndBottomFourAdImage(){	var bIndex = 1;	var vkbottom_four_ad= new Array(3)	vkbottom_four_ad[1]="http://vintageking.com/New-Brands/LaChapell-Audio/LaChapell-Audio-992-EG_2";	vkbottom_four_ad[2]="http://vintageking.com/New-Brands/Tonelux/Tonelux-Universal-Console";	vkbottom_four_ad[3]="http://vintageking.com/Shadow-Hills-Mono-GAMA-Mic-Pre";	stImgID1=Math.round(Math.random()*2)+1;	bIndex = stImgID1;	document.write("<a href="+vkbottom_four_ad[bIndex]+" border=0 target='_top'><IMG src='https://checkout.netsuite.com/c.360669/site/files/bottom_banners2/bottom_four_ad"+bIndex+".jpg' alt='"+dispAltData(vkbottom_four_ad[bIndex])+"' name=bottom_four_ad width=235 height=120 border=0></a>\n");}function rndSecondRowOneAdImage(){	var bIndex = 1;	var vkrow2_one_ad= new Array(2)	vkrow2_one_ad[1]="http://vintageking.com/site/files/demo-deals.htm";	vkrow2_one_ad[2]="http://vintageking.com/Console-Control-Surface-Specials";	stImgID1=Math.round(Math.random()*1)+1;	bIndex = stImgID1;	document.write("<a href="+vkrow2_one_ad[bIndex]+" border=0 target='_top'><IMG src='https://checkout.netsuite.com/c.360669/site/banners/second_row/row2_one_ad"+bIndex+".jpg' alt='"+dispAltData(vkrow2_one_ad[bIndex])+"' name=row2_one_ad width=235 height=150 border=0></a>\n");} function rndSecondRowTwoAdImage(){	var bIndex = 1;	var vkrow2_two_ad= new Array(3)	vkrow2_two_ad[1]="http://vintageking.com/Digidesign-D-Control-32-input-USED";	vkrow2_two_ad[2]="http://vintageking.com/Shop-New-Categories/Specials/ProAc-Studio-100-Pair";	vkrow2_two_ad[3]="http://vintageking.com/Waves-Tony-Maserati-Collection-Native";	stImgID1=Math.round(Math.random()*2)+1;	bIndex = stImgID1;	document.write("<a href="+vkrow2_two_ad[bIndex]+" border=0 target='_top'><IMG src='https://checkout.netsuite.com/c.360669/site/banners/second_row/row2_two_ad"+bIndex+".jpg' alt='"+dispAltData(vkrow2_two_ad[bIndex])+"' name=row2_two_ad width=235 height=150 border=0></a>\n");} function rndSecondRowThreeAdImage(){	var bIndex = 1;	var vkrow2_three_ad= new Array(3)	vkrow2_three_ad[1]="mailto:info@vintageking.com?subject=Wanted";	vkrow2_three_ad[2]="http://vintageking.com/API-3288-Classic-Console-Used";	vkrow2_three_ad[3]="http://vintageking.com/SSL-AWS-900-used_3";	stImgID1=Math.round(Math.random()*2)+1;	bIndex = stImgID1;	document.write("<a href="+vkrow2_three_ad[bIndex]+" border=0 target='_top'><IMG src='https://checkout.netsuite.com/c.360669/site/banners/second_row/row2_three_ad"+bIndex+".jpg' alt='"+dispAltData(vkrow2_three_ad[bIndex])+"' name=row2_three_ad width=235 height=150 border=0></a>\n");} function rndSecondRowFourAdImage(){	var bIndex = 1;	var vkrow2_four_ad= new Array(2)	vkrow2_four_ad[1]="http://vintageking.com/Used-Brands/API_2/API-DeMideo-24-channel-console";	vkrow2_four_ad[2]="mailto:info@vintageking.com?subject=Wanted";	stImgID1=Math.round(Math.random()*1)+1;	bIndex = stImgID1;	document.write("<a href="+vkrow2_four_ad[bIndex]+" border=0 target='_top'><IMG src='https://checkout.netsuite.com/c.360669/site/banners/second_row/row2_four_ad"+bIndex+".jpg' alt='"+dispAltData(vkrow2_four_ad[bIndex])+"' name=row2_four_ad width=235 height=150 border=0></a>\n");} 
