what to do, if I get error `breaking on JScript rumtime error - object expected, his is the error I am getting with following code
Code:
   1. <html>  
   2.     <head>  
   3.   
   4.         <style type="text/css">  
   5.         body {  
   6.          text-align: center;  
   7.         }  
   8.   
   9.         #all {  
  10.                  margin: 0 auto;  
  11.                  width: 800px;  
  12.                  text-align: left;  
  13.                 }  
  14.         </style>  
  15.         <script type="text/javascript">  
  16.   
  17.             var s = document.getElementById("menu1");  
  18.   
  19.             var ops = s.options[s.selectedIndex].value ;  
  20.   
  21.             function defaultDisplay(){  
  22.   
  23.                 document.getElementById('111').style.display = 'none';  
  24.                 document.getElementById('222').style.display = 'none';  
  25.                 document.getElementById('333').style.display = 'none';  
  26.             }  
  27.   
  28.             switch(ops){  
  29.                 alert("4");  
  30.                 case("tv"):  
  31.                      document.getElementById('111').style.display = 'none';  
  32.                      document.getElementById('222').style.display = 'none';  
  33.                      document.getElementById('333').style.display = 'inline';  
  34.                      break;  
  35.   
  36.                 case("eating"):  
  37.                      document.getElementById('111').style.display = 'inline';  
  38.                      document.getElementById('222').style.display = 'none';  
  39.                      document.getElementById('333').style.display = 'none';  
  40.                      break;  
  41.   
  42.                 case("biting"):  
  43.                          document.getElementById('111').style.display = 'none';  
  44.                          document.getElementById('222').style.display = 'inline';  
  45.                          document.getElementById('333').style.display = 'none';  
  46.                          break;  
  47.                 default:  
  48.                          document.getElementById('111').style.display = 'none';  
  49.                          document.getElementById('222').style.display = 'none';  
  50.                          document.getElementById('333').style.display = 'none';  
  51.   
  52.             }  
  53.   
  54.         </script>  
  55.         </head>  
  56.             <body onload="defaultDisplay()">  
  57.   
  58.             <div id="all">  
  59.                 <div> </div>  
  60.                 <div id="header" stlye="float:left;">  
  61.   
  62.                 <h3>Following is left image</h3>  
  63.                         <img src="C:\Users\Jignesh\Desktop\Pics & Movies\IMG_4606.jpg" ¸width="300" height="200"/>  
  64.   
  65.                 </div>  
  66.                 <div style="clear:both"></div>  
  67.   
  68.                 <div>  
  69.   
  70.                     <div id="middle">  
  71.   
  72.                         <p>Lets see if this image has been aligned to right or not</p>  
  73.   
  74.   
  75.                             <div style="float:right;">  
  76.                                 <h3>Following is Right image</h3>  
  77.                             </div>  
  78.                             <div style="clear:both"></div>  
  79.                             <p><img id="111" style="float:right" src="C:\Users\Jignesh\Desktop\Pics & Movies\IMG_5118.jpg" ¸width="200" height="135" /></p>  
  80.                             <p><img id="222" style="float:right" src="C:\Users\Jignesh\Desktop\Pics & Movies\IMG_4729.jpg" ¸width="200" height="135" /></p>  
  81.                             <p><img id="333" style="float:right" src="C:\Users\Jignesh\Desktop\Pics & Movies\IMG_4606.jpg" ¸width="200" height="135" /></p>  
  82.   
  83.                 <p> Select image for display on right</p>  
  84.   
  85.   
  86.                 <select id="menu1" onchange="switch()">  
  87.                             <option value="noimage">Select Image</option>  
  88.                             <option value="eating">Vedant eating with Swejal</option>  
  89.                             <option value="tv">Vedant watching TV with Dhyey</option>  
  90.                             <option value="biting">Vedant Biting Jignesh</option>  
  91.                 </select>  
  92.                 </div>  
  93.                 </div>  
  94.             </div>  
  95.   
  96.             </body>  
  97. </html>
Whats wrong with this ?