//Main Button Event Start if (parseInt(navigator.appVersion.substring(0,1))>=3){ Home_1 = new Image(); Home_1.src = "http://www.jl-studio.hk/Image/Home_1.gif"; Home_2 = new Image(); Home_2.src = "http://www.jl-studio.hk/Image/Home_2.gif"; Theme_1 = new Image(); Theme_1.src = "http://www.jl-studio.hk/Image/Theme_1.gif"; Theme_2 = new Image(); Theme_2.src = "http://www.jl-studio.hk/Image/Theme_2.gif"; Cursor_1 = new Image(); Cursor_1.src = "http://www.jl-studio.hk/Image/Cursor_1.gif"; Cursor_2 = new Image(); Cursor_2.src = "http://www.jl-studio.hk/Image/Cursor_2.gif"; WPaper_1 = new Image(); WPaper_1.src = "http://www.jl-studio.hk/Image/WPaper_1.gif"; WPaper_2 = new Image(); WPaper_2.src = "http://www.jl-studio.hk/Image/WPaper_2.gif"; Software_1 = new Image(); Software_1.src = "http://www.jl-studio.hk/Image/Software_1.gif"; Software_2 = new Image(); Software_2.src = "http://www.jl-studio.hk/Image/Software_2.gif"; GBook_1 = new Image(); GBook_1.src = "http://www.jl-studio.hk/Image/GBook_1.gif"; GBook_2 = new Image(); GBook_2.src = "http://www.jl-studio.hk/Image/GBook_2.gif"; Blog_1 = new Image(); Blog_1.src = "http://www.jl-studio.hk/Image/Blog_1.gif"; Blog_2 = new Image(); Blog_2.src = "http://www.jl-studio.hk/Image/Blog_2.gif"; Study_1 = new Image(); Study_1.src = "http://www.jl-studio.hk/Image/Study_1.gif"; Study_2 = new Image(); Study_2.src = "http://www.jl-studio.hk/Image/Study_2.gif"; MyLink_1 = new Image(); MyLink_1.src = "http://www.jl-studio.hk/Image/MyLink_1.gif"; MyLink_2 = new Image(); MyLink_2.src = "http://www.jl-studio.hk/Image/MyLink_2.gif"; About_1 = new Image(); About_1.src = "http://www.jl-studio.hk/Image/About_1.gif"; About_2 = new Image(); About_2.src = "http://www.jl-studio.hk/Image/About_2.gif"; ArrowUp_1 = new Image(); ArrowUp_1.src = "http://www.jl-studio.hk/Image/ArrowUp_1.gif"; ArrowUp_2 = new Image(); ArrowUp_2.src = "http://www.jl-studio.hk/Image/ArrowUp_2.gif"; ArrowDoubleLeft_1 = new Image(); ArrowDoubleLeft_1.src = "http://www.jl-studio.hk/Image/ArrowDoubleLeft_1.gif"; ArrowDoubleLeft_2 = new Image(); ArrowDoubleLeft_2.src = "http://www.jl-studio.hk/Image/ArrowDoubleLeft_2.gif"; ArrowLeft_1 = new Image(); ArrowLeft_1.src = "http://www.jl-studio.hk/Image/ArrowLeft_1.gif"; ArrowLeft_2 = new Image(); ArrowLeft_2.src = "http://www.jl-studio.hk/Image/ArrowLeft_2.gif"; ArrowRight_1 = new Image(); ArrowRight_1.src = "http://www.jl-studio.hk/Image/ArrowRight_1.gif"; ArrowRight_2 = new Image(); ArrowRight_2.src = "http://www.jl-studio.hk/Image/ArrowRight_2.gif"; ArrowDoubleRight_1 = new Image(); ArrowDoubleRight_1.src = "http://www.jl-studio.hk/Image/ArrowDoubleRight_1.gif"; ArrowDoubleRight_2 = new Image(); ArrowDoubleRight_2.src = "http://www.jl-studio.hk/Image/ArrowDoubleRight_2.gif"; } function ButtonChange(name, status){ if (parseInt(navigator.appVersion.substring(0,1))>=3){ image = eval(name + (status == 0 ? "_1.src" : "_2.src")); if (image != ""){ document[name].src = image; } } } //Main Button Event End function file_exists (url) { var req = this.window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest(); if (!req) {throw new Error('XMLHttpRequest not supported');} // HEAD Results are usually shorter (faster) than GET req.open('HEAD', url, false); req.send(null); if (req.status == 200){ return true; } return false; }