listbrand=new Array(); listmodel=new Array(); listbrand[listbrand.length]="Canon"; listmodel["Canon"]=new Array(); listbrand[listbrand.length]="Fujifilm"; listmodel["Fujifilm"]=new Array(); listbrand[listbrand.length]="Hasselblad"; listmodel["Hasselblad"]=new Array(); listbrand[listbrand.length]="Konica Minolta"; listmodel["Konica Minolta"]=new Array(); listbrand[listbrand.length]="Leaf"; listmodel["Leaf"]=new Array(); listbrand[listbrand.length]="Leica"; listmodel["Leica"]=new Array(); listbrand[listbrand.length]="Mamiya"; listmodel["Mamiya"]=new Array(); listbrand[listbrand.length]="Nikon"; listmodel["Nikon"]=new Array(); listbrand[listbrand.length]="Olympus"; listmodel["Olympus"]=new Array(); listbrand[listbrand.length]="Panasonic"; listmodel["Panasonic"]=new Array(); listbrand[listbrand.length]="Pentax"; listmodel["Pentax"]=new Array(); listbrand[listbrand.length]="Phase One"; listmodel["Phase One"]=new Array(); listbrand[listbrand.length]="Samsung"; listmodel["Samsung"]=new Array(); listbrand[listbrand.length]="Sony"; listmodel["Sony"]=new Array(); listmodel["Canon"][listmodel["Canon"].length]=new Array(270,"EOS 1000D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(437,"EOS 10D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(431,"EOS 1D Mark II"); listmodel["Canon"][listmodel["Canon"].length]=new Array(435,"EOS 1D Mark II N"); listmodel["Canon"][listmodel["Canon"].length]=new Array(434,"EOS 1D Mark III"); listmodel["Canon"][listmodel["Canon"].length]=new Array(629,"EOS 1D Mark IV"); listmodel["Canon"][listmodel["Canon"].length]=new Array(516,"EOS 1Ds"); listmodel["Canon"][listmodel["Canon"].length]=new Array(191,"EOS 1Ds Mark II"); listmodel["Canon"][listmodel["Canon"].length]=new Array(436,"EOS 1Ds Mark III"); listmodel["Canon"][listmodel["Canon"].length]=new Array(281,"EOS 20D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(182,"EOS 300D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(179,"EOS 30D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(183,"EOS 350D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(184,"EOS 400D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(180,"EOS 40D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(185,"EOS 450D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(586,"EOS 500D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(272,"EOS 50D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(645,"EOS 550D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(636,"EOS 550D pre production"); listmodel["Canon"][listmodel["Canon"].length]=new Array(176,"EOS 5D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(483,"EOS 5D Mark II"); listmodel["Canon"][listmodel["Canon"].length]=new Array(619,"EOS 7D"); listmodel["Canon"][listmodel["Canon"].length]=new Array(247,"Powershot G10"); listmodel["Canon"][listmodel["Canon"].length]=new Array(620,"Powershot G11"); listmodel["Canon"][listmodel["Canon"].length]=new Array(532,"Powershot G9"); listmodel["Canon"][listmodel["Canon"].length]=new Array(625,"PowerShot S90"); listmodel["Fujifilm"][listmodel["Fujifilm"].length]=new Array(578,"FinePix S100fs"); listmodel["Fujifilm"][listmodel["Fujifilm"].length]=new Array(528,"FinePix S3 Pro"); listmodel["Fujifilm"][listmodel["Fujifilm"].length]=new Array(511,"FinePix S5 Pro"); listmodel["Hasselblad"][listmodel["Hasselblad"].length]=new Array(457,"H3DII 39"); listmodel["Hasselblad"][listmodel["Hasselblad"].length]=new Array(585,"H3DII 50"); listmodel["Konica Minolta"][listmodel["Konica Minolta"].length]=new Array(279,"DYNAX 5D"); listmodel["Konica Minolta"][listmodel["Konica Minolta"].length]=new Array(215,"DYNAX 7D"); listmodel["Leaf"][listmodel["Leaf"].length]=new Array(512,"Aptus75S"); listmodel["Leica"][listmodel["Leica"].length]=new Array(250,"M8"); listmodel["Leica"][listmodel["Leica"].length]=new Array(640,"M9"); listmodel["Mamiya"][listmodel["Mamiya"].length]=new Array(484,"ZD Back"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(248,"Coolpix P6000"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(203,"D200"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(206,"D2H"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(207,"D2X"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(533,"D2Xs"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(438,"D3"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(440,"D300"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(623,"D3000"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(614,"D300s"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(628,"D3s"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(485,"D3X"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(229,"D40"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(514,"D40X"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(195,"D50"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(587,"D5000"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(196,"D60"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(197,"D70"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(441,"D700"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(238,"D70s"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(518,"D80"); listmodel["Nikon"][listmodel["Nikon"].length]=new Array(439,"D90"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(220,"E3"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(574,"E30"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(496,"E410"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(464,"E420"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(589,"E450"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(465,"E510"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(221,"E520"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(644,"E600"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(588,"E620"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(612,"PEN EP1"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(631,"PEN EP2"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(643,"PEN EPL1"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(467,"SP 565 UZ"); listmodel["Olympus"][listmodel["Olympus"].length]=new Array(417,"SP 570 UZ"); listmodel["Panasonic"][listmodel["Panasonic"].length]=new Array(256,"DMC FZ28"); listmodel["Panasonic"][listmodel["Panasonic"].length]=new Array(482,"Lumix DMC FX150"); listmodel["Panasonic"][listmodel["Panasonic"].length]=new Array(450,"Lumix DMC G1"); listmodel["Panasonic"][listmodel["Panasonic"].length]=new Array(632,"Lumix DMC GF1"); listmodel["Panasonic"][listmodel["Panasonic"].length]=new Array(630,"Lumix DMC GH1"); listmodel["Panasonic"][listmodel["Panasonic"].length]=new Array(268,"Lumix DMC L10"); listmodel["Panasonic"][listmodel["Panasonic"].length]=new Array(567,"Lumix DMC LX3"); listmodel["Pentax"][listmodel["Pentax"].length]=new Array(212,"K10D"); listmodel["Pentax"][listmodel["Pentax"].length]=new Array(330,"K200D"); listmodel["Pentax"][listmodel["Pentax"].length]=new Array(213,"K20D"); listmodel["Pentax"][listmodel["Pentax"].length]=new Array(615,"K7"); listmodel["Pentax"][listmodel["Pentax"].length]=new Array(577,"KM"); listmodel["Pentax"][listmodel["Pentax"].length]=new Array(639,"Kx"); listmodel["Phase One"][listmodel["Phase One"].length]=new Array(592,"P40 Plus"); listmodel["Phase One"][listmodel["Phase One"].length]=new Array(456,"P45 Plus"); listmodel["Phase One"][listmodel["Phase One"].length]=new Array(579,"P65 Plus"); listmodel["Samsung"][listmodel["Samsung"].length]=new Array(526,"GX 20"); listmodel["Sony"][listmodel["Sony"].length]=new Array(216,"Alpha 100"); listmodel["Sony"][listmodel["Sony"].length]=new Array(342,"Alpha 200"); listmodel["Sony"][listmodel["Sony"].length]=new Array(605,"Alpha 230"); listmodel["Sony"][listmodel["Sony"].length]=new Array(341,"Alpha 300"); listmodel["Sony"][listmodel["Sony"].length]=new Array(606,"Alpha 330"); listmodel["Sony"][listmodel["Sony"].length]=new Array(217,"Alpha 350"); listmodel["Sony"][listmodel["Sony"].length]=new Array(607,"Alpha 380"); listmodel["Sony"][listmodel["Sony"].length]=new Array(641,"Alpha 450"); listmodel["Sony"][listmodel["Sony"].length]=new Array(626,"Alpha 500"); listmodel["Sony"][listmodel["Sony"].length]=new Array(624,"Alpha 550"); listmodel["Sony"][listmodel["Sony"].length]=new Array(562,"Alpha 700"); listmodel["Sony"][listmodel["Sony"].length]=new Array(604,"Alpha 850"); listmodel["Sony"][listmodel["Sony"].length]=new Array(371,"Alpha 900"); listmodel["Sony"][listmodel["Sony"].length]=new Array(651,"NEX3"); listmodel["Sony"][listmodel["Sony"].length]=new Array(652,"NEX5"); var nbSensor=105; function displaybrand(brand,node){ content=""; var alternance=0; var j=0; if(listmodel[brand]){ for(var i=0;i"+tmp+" "; if (j"+tmp2+" "; }else{ content+=""; } content+=""; } else{ content+=""; if (j"+tmp2+" "; }else{ content+=""; } content+=""; } } } content+="
"+tmp+"
" document.write(content); } function getbrand(id,chgfunc,monbrand){ chgfunc=(!chgfunc)?"":"onchange=\""+chgfunc+"\""; monbrand=(monbrand)?monbrand:""; /*content=""; content+=""; for(i=0;i"+listbrand[i]+" "; } return content+""; } function getModel(id,brand,monmodel,chgfunc){ /*content=""; content+=""; if(monmodel) monmodel=monmodel.split('|'); else monmodel="" if(listmodel[brand]){ for(i=0;i"+listmodel[brand][i][1]+" "; } } return content+""; } function deletelem(obj){ for(i=obj.options.length-1;i>0;i--) obj.options[i]=null; } function chgmodel(me,objmodel){ document.getElementById("div_"+objmodel+"_").style.display="none"; for(W=0;W220?220:listbrand.length*14+34)+"px"); else new Autocompleter.SelectBox(id); */ } function getListBrandModel(id,monmodel,monbrand,bas,chgfunc,bcontentonly){ monbrand=(monbrand)?monbrand:""; var mycontent="
"+getModel(id,"","",chgfunc)+"
"; /*new Autocompleter.SelectBox(id+"_");*/ for(W=0;W"+getModel(id,listbrand[W],monmodel,chgfunc)+"" /* if(bas) new Autocompleter.SelectBox(id+"_"+listbrand[W],null,"margin-top:-"+((listmodel[listbrand[W]].length*14+34)>250?250:listmodel[listbrand[W]].length*14+34)+"px"); else new Autocompleter.SelectBox(id+"_"+listbrand[W],null); */ } //alert("div_"+id+"_"+monbrand) if (bcontentonly) return mycontent; else document.write(mycontent); document.getElementById("div_"+id+"_"+monbrand).style.display="block"; //alert(document.getElementById("div_"+id+"_"+monbrand).style.display) } function genereURLSensor(brandmodel,objmodel){ var brandvalue=document.getElementById(brandmodel).value; var modtext=''; if(brandvalue!=""){ for(W=0;W