// JavaScript Document var theImages = new Array(); // do not change this theImages[0] = '/css/images/homepage/charles.gif'; theImages[1] = '/css/images/homepage/carsten.gif'; theImages[2] = '/css/images/homepage/jose.gif'; var theImages1 = new Array(); // do not change this theImages1[0] = '/css/images/homepage/tiananmen.jpg'; theImages1[1] = '/css/images/homepage/great-wall.gif'; var theImages2 = new Array(); // do not change this theImages2[0] = '/css/images/homepage/shanghai-expo.jpg'; theImages2[1] = '/css/images/homepage/the-bund-2.gif'; var theImages3 = new Array(); // do not change this theImages3[0] = '/css/images/homepage/guilin.jpg'; theImages3[1] = '/css/images/homepage/terrace-fiedl.gif'; var theImages4 = new Array() // do not change this theImages4[0] = '/css/images/homepage/terra-cotta.jpg'; theImages4[1] = '/css/images/homepage/big-goose-pagoda.gif'; var theImages5 = new Array() // do not change this theImages5[0] = '/image/tour-2010/winter/harbin-1.jpg'; theImages5[1] = '/image/tour-2010/winter/harbin-2.jpg'; var theImages6 = new Array(); // do not change this theImages6[0] = '/image/tour-2010/winter/yabuli-1.jpg'; theImages6[1] = '/image/tour-2010/winter/yabuli-2.jpg'; var theImages7 = new Array(); // do not change this theImages7[0] = '/image/tour-2010/winter/sanya.jpg'; theImages7[1] = '/image/tour-2010/winter/sanya-2.jpg'; var theImages8 = new Array(); // do not change this theImages8[0] = '/image/TA/tripadvisor-11.gif'; theImages8[1] = '/image/TA/tripadvisor-4.gif'; theImages8[2] = '/image/TA/tripadvisor-8.gif'; theImages8[3] = '/image/TA/tripadvisor-6.gif'; var theImages9 = new Array(); // do not change this theImages9[0] = '/image/TA/ta-1.gif'; theImages9[1] = '/image/TA/ta-2.gif'; theImages9[2] = '/image/TA/ta-3.gif'; theImages9[3] = '/image/TA/ta-4.gif'; function showImage(){ var j = 0, p = theImages.length,whichImage = Math.round(Math.random()*(p-1));//,preBuffer = new Image(); //preBuffer.src = theImages[whichImage]; document.write('Feedback Video'); } function showImage1(){ var j = 0, p = theImages1.length,whichImage = Math.round(Math.random()*(p-1)); document.write('Beijing Travel Guide'); } function showImage2(){ var j = 0, p = theImages2.length,whichImage = Math.round(Math.random()*(p-1)); document.write('Shanghai Travel Guide'); } function showImage3(){ var j = 0, p = theImages3.length,whichImage = Math.round(Math.random()*(p-1)); document.write('Guilin Travel Guide'); } function showImage4(){ var j = 0, p = theImages4.length,whichImage = Math.round(Math.random()*(p-1)); document.write('Xian Travel Guide'); } function showImage5(){ var j = 0, p = theImages5.length,whichImage = Math.round(Math.random()*(p-1)); document.write(''); } function showImage6(){ var j = 0, p = theImages6.length,whichImage = Math.round(Math.random()*(p-1)); document.write(''); } function showImage7(){ var j = 0, p = theImages7.length,whichImage = Math.round(Math.random()*(p-1)); document.write(''); } function showImage8(){ var j = 0, p = theImages8.length,whichImage = Math.round(Math.random()*(p-1)); document.write('Recommendation from TripAdvisor'); } function showImage9(){ var j = 0, p = theImages9.length,whichImage = Math.round(Math.random()*(p-1)); document.write('Recommendation from TripAdvisor'); }; //