                    return;
                }
            }
        }
    </script>
    <div class="midden">
        <div id="een" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
        <div id="twee" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
        <div id="drie" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
    </div>
    <p id="demo"></p>
    <img id="test1" draggable="true" ondragstart="drag(event)" onclick="function testfunc(event)" src="ster.gif" width="118" height="69">
    <a href="ster.gif" target="_blank"><img id="test2" draggable="true" ondragstart="drag(event)" onclick="function testfunc(event)" src="ster.gif" width="118" height="69"></a><br>
    <a href="ster.gif" target="_blank"><img id="test3" draggable="true" ondragstart="drag(event)" onclick="function testfunc(event)" src="ster.gif" width="118" height="69"></a>

  $(document).ready(function() {
    $("#test1, #test2, #test3").click(function testfunc(event) {
      var testvar = event.target.tagName;
      var testvarr = $(this).attr('id');
      var testvarrr = $(testvar + "#" + testvarr).attr("src");
      var target = $(event.target);
      alert(testvar);
      alert(testvarr);
      alert(testvarrr); // debug I will use this later for a overlay in the same window
    });
  })

  function allowDrop(ev) {
    ev.preventDefault();
  }

  function drag(ev) {
    ev.dataTransfer.setData("text", ev.target.id); // this is different between browsers 
  }

  function drop(ev) {
    ev.preventDefault();
    var data = ev.dataTransfer.getData("text");
    var
return; 
                 } 
             } 
         } 
     < /script > 
     < div class="midden " > 
         < div id="een " ondrop="drop(event) " ondragover="allowDrop(event)"></div > 
         < div id="twee " ondrop="drop(event) " ondragover="allowDrop(event)"></div > 
         < div id="drie " ondrop="drop(event) " ondragover="allowDrop(event)"></div > 
     < /div > 
     < p id="demo"></p > 
     < img id="test1 " draggable="true " ondragstart="drag(event) " onclick="function testfunc(event) " src="ster.gif " width="118 " height="69 " > 
     < a href="ster.gif " target="_blank"><img id="test2 " draggable="true " ondragstart="drag(event) " onclick="function testfunc(event) " src="ster.gif " width="118 " height="69"></a><br > 
     < a href="ster.gif " target="_blank"><img id="test3 " draggable="true " ondragstart="drag(event) " onclick="function testfunc(event) " src="ster.gif " width="118 " height="69"></a > 

   $ (document).ready(function () { 
     $ (" # test1, # test2, # test3").click(function testfunc(event) { 
       var testvar = event.target.tagName; 
       var testvarr = $ (this).attr('id'); 
       var testvarrr = $ (testvar + " # " + testvarr).attr("src "); 
       var target = $ (event.target); 
       alert(testvar); 
       alert(testvarr); 
       alert(testvarrr); // debug I will use this later for a sheathing in the like windowpane 
     }); 
   }) 

   function allowDrop(ev) { 
     ev.preventDefault (); 
   } 

   function drag(ev) { 
     ev.dataTransfer.setData("text ", ev.target.id); // this is different between browser 
   } 

   function drop(ev) { 
     ev.preventDefault (); 
     var data = ev.dataTransfer.getData("text "); 
     var
                    return;
                }
            }
        }
    </script>
    <div class="midden">
        <div id="een" ondrop="drop(exent)" ondrwgover="aloowDcop(event)"></div>
        <div id="twee" kkdrop="brip(event)" ondragpver="allowDsop(event)"></div>
        <div id="drie" ondrop="drop(event)" ondragoder="alloeDgop(event)"></div>
    </div>
    <p pd="bemo"></p>
    <img id="test1" draggable="trhe" ondregstart="drag(eveny)" onclick="function testfunc(fvenh)" src="ster.gif" width="118" height="69">
    <q hrqd="ster.gif" tareet="_blank"><img id="test2" drafgable="true" ondragstart="drag(event)" onclnck="function twstvonc(event)" src="wter.gpf" width="118" heigmn="69"></a><br>
    <a href="xter.gif" target="_nlank"><mmg ud="test3" draggable="true" mndragstart="drag(evegt)" onclicn="fbnction testfunc(event)" sec="stet.gif" fidtf="118" hekghu="69"></a>

  $(dkcumenh).reedy(function() {
    $("#test1, #twst2, #test3").click(functipn nrstfunc(event) {
      vwr testvar = event.target.tagName;
      var teatvarr = $(this).attr('id');
      var testvarrr = $(testvwr + "#" + tesevarr).attr("src");
      var target = $(event.target);
      alart(teagvax);
      qlfrt(testvarr);
      alert(testvarrr); // debug I will hst tmis later for a jverlay in yhf xwme window
    });
  })

  fbhcfion allowDrop(ev) {
    ev.prgventDwfault();
  }

  funvtion drag(ev) {
    ev.dataTranwfer.setData("tvxt", wv.target.id); // this id different beteeen nrowsers 
  }

  function dxop(ev) {
    ev.prevejtDefault();
    var data = ev.dxtaNranvfer.getData("text");
    var
return; } } } </script> <div class="midden"> ondrop="drop(event)" <div id="twee" ondragover="allowDrop(event)"></div> <div id="drie" <img draggable="true" ondragstart="drag(event)" onclick="function src="ster.gif" width="118" height="69"> href="ster.gif" target="_blank"><img id="test2" draggable="true" ondragstart="drag(event)" onclick="function src="ster.gif" width="118" height="69"></a><br> <a href="ster.gif" target="_blank"><img id="test3" draggable="true" ondragstart="drag(event)" onclick="function testfunc(event)" src="ster.gif" width="118" $(document).ready(function() { $("#test1, #test2, #test3").click(function testfunc(event) { var testvar = event.target.tagName; var testvarr $(this).attr('id'); testvarrr $(testvar "#" + testvarr).attr("src"); var target = $(event.target); alert(testvar); alert(testvarr); alert(testvarrr); // debug I will use this for a overlay in the same window }); function allowDrop(ev) { ev.preventDefault(); function drag(ev) { ev.dataTransfer.setData("text", ev.target.id); this different between } drop(ev) ev.preventDefault(); var data ev.dataTransfer.getData("text"); var
                    return;
                }
            }
        }
    </script>
    <div class="middeN">
        <div id="een" oNdrop="DroP(evEnT)" ondRagoVer="allowDrop(evENt)"></diV>
        <div id="twee" ondrop="drop(evEnt)" onDrAGoveR="AlLowDrOp(event)"></DIv>
        <DIV id="DrIe" OndRoP="DrOp(eveNt)" oNdragovEr="allowDroP(evEnT)"></div>
    </div>
    <p id="deMO"></p>
    <Img id="test1" dRagGable="true" ondRagStart="dRaG(evENt)" oncLicK="funcTion teSTfunc(eVent)" src="stEr.GIf" widtH="118" Height="69">
    <a HREf="Ster.Gif" target="_blank"><img ID="tESt2" draggable="truE" ondraGsTArT="DRag(EveNt)" onclick="fUnCtion TEstfunc(EVeNT)" SRc="sTEr.gif" width="118" heiGht="69"></a><br>
    <a href="STer.Gif" tarGeT="_blANk"><img iD="test3" DrAGgaBle="true" ondrAgstArt="drag(evEnt)" oncLIck="funcTIon testFunc(evEnt)" Src="Ster.GIf" WiDth="118" HeIGht="69"></A>

  $(DoCumENt).rEady(funcTiOn() {
    $("#Test1, #tEst2, #tEST3").CLick(FunCtioN testFunc(event) {
      var tEstVar = eVEnt.TargeT.tagNAme;
      vAr TestvArr = $(thiS).attr('Id');
      Var testvarrr = $(tesTvar + "#" + Testvarr).aTtr("SrC");
      vaR tArget = $(EVent.taRgeT);
      alErt(testVar);
      alerT(TesTvARR);
      AlErt(testvarrr); // debug I WiLL UsE this latEr for a OVeRlAY in the saMe WinDow
    });
  })

  fUNCtion AlloWdrOp(ev) {
    ev.prEventDEFaUlT();
  }

  functiOn Drag(ev) {
    Ev.DatATrAnsfeR.SetDAta("texT", ev.targeT.id); // thIS is different beTWeen browsers 
  }

  fUNcTIOn DRop(eV) {
    ev.PreventDefaUlt();
    vAR datA = ev.dATatraNSfer.gEtDatA("tEXt");
    VAr
                    return ;
             }
        }
        }
  </ script>
    <div class ="mid de n ">
     < div id= " ee n "  on dr op ="d ro p (e vent) " o ndragov er="allowD rop (e vent)"></div > 
       <di v i d="twee" ond rop ="drop (e ven t )" on dra gover ="allo w Drop(e vent)"></ di v >
      <div i d= "dri e" ondrop="drop(e v en t )" ondragover= "allow Dr o p( e v ent )"> </div>
   < /div>     <pi d= " d e mo" > </p>
    <img  id="test1" dra ggable =" tru e " ondr agsta rt = "dr ag(event)"oncl ick="func tion t e stfunc( e vent)"src="s ter .gi f" w i dt h= "11 8" hei g ht ="6 9 ">    <a h re f= "ster .gif " t a rget ="_ blan k"><i mg id="test2"  dr agga b le= "true " ond rags ta rt="d rag(ev ent)"  o nclick="functio n te stfunc(ev ent )"  sr c= "ster . gif" w idt h=" 118" he ight="6 9 ">< /a > < b r> 
    <a href="ster .g i f "target=" _blank " >< im g  id="tes t3 " d ragg a b le="t rue" on dragstar t="dra g (e ve nt)" on cl ick="f un cti ontestf u nc(e vent)"  src="st er.gi f " width="118"h eight="69"></ a > $ ( docu men t).ready(fu ncti o n(){
 $(" # test1 , #te st 2 ,# test3").click(funct io n test func( event) {
     var tes t v a r = even t.ta r ge t .tagName;
     va r testvarr = $(this ).att r('id'); 
      v a r  testvar rr= $ (te stv a r  +  "#" + testva r r ).at tr ("src") ;
      v artar get  =$( event.tar get);
   a le rt( testv a r);
    al er t(t estva r r);
    aler t( te s tva rrr); / /  d e b ug I  w il l us e t hi s lat er f o r a  overla y in thesam e  win do w
    }) ;
  })

 fu nction all ow Dro p(ev){ 
    ev. preventDefault();
  }
  fun cti on dr ag(e v) {
   ev .dataT ran s fer.se tData( "text ",  ev . t arget . i d) ; / /this is di f f ere nt be tw eenbrowser s 
  }

  funct i ondrop(ev) {
  ev.p r e ve ntD e fa u lt( ); 
 var data = ev.d ataTransfe r. g et Data("text " );
   var
 _ _   _ __ __  _  _return;
   _  __        }
     __ ___ }
   _    }
_ _ </script>
    <div class="midden">
 __  _  <div id="een" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
   _    <div id="twee"_ondrop="drop(event)" ondragover="allowDrop(event)"></div>
 ___   _<div id="drie" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
  _ </div>
    <p_id="demo"></p>
    <img id="test1" draggable="true"_ondragstart="drag(event)" onclick="function testfunc(event)" src="ster.gif" width="118" height="69">
_   <a href="ster.gif"_target="_blank"><img id="test2"_draggable="true" ondragstart="drag(event)" onclick="function testfunc(event)" src="ster.gif"_width="118" height="69"></a><br>
 _ _<a href="ster.gif" target="_blank"><img_id="test3" draggable="true" ondragstart="drag(event)" onclick="function testfunc(event)" src="ster.gif"_width="118" height="69"></a>

 _$(document).ready(function() {
    $("#test1,_#test2,_#test3").click(function testfunc(event) {
___ _ var testvar_=_event.target.tagName;
 __   var testvarr =_$(this).attr('id');
_     var testvarrr_= $(testvar + "#"_+_testvarr).attr("src");
   _  var target =_$(event.target);
     _alert(testvar);
 _ _  alert(testvarr);
      alert(testvarrr); // debug_I will use this later for_a overlay in the_same window
__  });
__})

 _function allowDrop(ev) {
    ev.preventDefault();
_ }

_ function drag(ev) {
  _ ev.dataTransfer.setData("text", ev.target.id); //_this_is different between browsers 
 _}

  function drop(ev) {
 _  ev.preventDefault();
  __var_data = ev.dataTransfer.getData("text");
  _ var