home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2011 October / PCgo_1011_CD.iso / interface / contents / washgo_19014 / 50519 / files / d / l.js < prev    next >
Encoding:
Text File  |  2011-08-15  |  1.9 KB  |  83 lines

  1. var sound = false;
  2. function link_execute(file, parameters, directory, verb, show, absolute_path, wait, exit) {
  3.     if (sound) {
  4.         menubox_playsound();
  5.         menubox_playsound("2.wav");
  6.         }
  7.     if (verb.toLowerCase() != "noaction") {
  8.         menubox_execute(file, parameters, directory, verb, show, absolute_path, wait)
  9.     }
  10.     if (exit) {
  11.         Check = confirm('Wirklich beenden?');
  12.             if(Check != false) {
  13.             window.external.close();
  14.             }
  15.     }
  16. }
  17. function wJump(item) {
  18.     try {
  19.        menubox_execute(url[item],'','','Open','Normal',false,false,false);
  20.     }
  21.     catch(e) {
  22.     }
  23. }
  24. function exeCute() {
  25.     try {
  26.         link_execute(exePath+exe[cItem],'','','Open','Normal',false, false, false);  
  27.     }
  28.     catch (e) {
  29.     }
  30. }
  31. function runEC(item) {
  32.     cItem = item;
  33.     exeCute();
  34. }
  35. function openF(item) {
  36.     try {
  37.         link_execute(hfile[item],'','','Open','Normal',false, false, false);  
  38.     }
  39.     catch (e) {
  40.     }
  41. }
  42. function oiso() {
  43.     try {
  44.         link_execute("../iso_images",'','','Open','Normal',false, false, false);  
  45.     }
  46.     catch (e) {
  47.     }
  48. }
  49. function biso(image) {
  50.     try {
  51.         link_execute("../iso_images/"+isoimg[image],'','','Open','Normal',false, false, false);  
  52.     }
  53.     catch (e) {
  54.     }
  55. }
  56. function ros(item) {
  57.     try {
  58.         link_execute("http://"+iurl[item],'','','Open','Normal',false, false, false);  
  59.     }
  60.     catch (e) {
  61.     }    
  62. }
  63. function jVendor() {
  64.     try {
  65.         link_execute(url[cItem],'','','Open','Normal',false, false, false);  
  66.     }
  67.     catch (e) {
  68.     }      
  69. }
  70. function iS() {
  71.     try {
  72.         link_execute("p/"+texe[cTool],'','','Open','Normal',false, false, false);  
  73.     }
  74.     catch (e) {
  75.     }          
  76. }
  77. function fBpp(id,img,mode) {
  78.     document.getElementById(id).src = img+"_"+mode+".png";
  79. }
  80. function fBpg(id,img,mode) {
  81.     document.getElementById(id).src = img+"_"+mode+".gif";
  82. }
  83.