
var himage=new Array();

himage[himage.length] = new info('<b>HandSoft</b>', 'handsoft.gif', '<font size="2"><b>1 new software</b>\n<font color="#2B3168"><b>Pediatrist</b></font>', 'http://www.handycase.com/handsoft/eng/', 'm' + himage.length); 
himage[himage.length] = new info('<b>NickPlay</b>', 'nickplay.gif', '<font size="2"><b>2 new games</b>\n<font color="#FF0000"><b>Mayan and Shot Stand</b></font>', 'http://www.handycase.com/nickplay/eng/', 'm' + himage.length);
himage[himage.length] = new info('<b>HandFree</b>', 'handfree.gif', '<font size="2"><font color="#0871AD"><b>41 new contents - 847 contents and counting...</b></font>', 'http://www.handycase.com/handfree/', 'm' + himage.length);
himage[himage.length] = new info('<b>Hand-e</b>', 'hand-e.gif', '<font size="2"><b>Our games in your Computer</b>', 'http://www.handycase.com/hand-e/', 'm' + himage.length);
himage[himage.length] = new info('<b>HandWidgets</b>', 'handwidgets.gif', '<font size="2"><b>Save money and memory, more power for your Palm</b>', 'http://www.handycase.com/handwidgets/eng/', 'm' + himage.length);
himage[himage.length] = new info('<b>GUNE</b>', 'gune.gif', '<font size="2"><b>Mobile Search and Directory Website</b>', 'http://www.handycase.com/gune/pc/', 'm' + himage.length);
himage[himage.length] = new info('<b>GameDog</b>', 'gamedog.gif', '<font size="2"><b>Subscribe Games</b>', 'http://www.handycase.com/gamedog/', 'm' + himage.length);
himage[himage.length] = new info('<b>HandClub</b>', 'handclub.gif', '<font size="2"><b>See your advantages to be a <font color="#ECEC00">HandCluber</font></b>', 'http://www.handycase.com/handclub/', 'm' + himage.length);

var minArr=new Array();
for (i=0; i<himage.length; i++) {
  minArr[i]=new Image();
  minArr[i].src=himage[i].thumb;
}

function info(nam, thumb, Title, web, handwID) {
  this.nam = nam;
  this.thumb = thumb;
  this.Title = Title;
  this.web = web;
  this.handwID = handwID;
}

function handNews() {
  document.write('<div id="handsites"><b>' + '<\/b>');
  for (j=0; j<himage.length; j++) {
    document.write('<a target="offsite" href="');
    document.write(himage[j].web);
    document.write('" onMouseover="preview(' + j + ',\'' + himage[j].handwID + '\')">');
    document.write(himage[j].nam);
    document.write('<\/a><span class="indic" id="' + himage[j].handwID + '"><\/span><br>');
  }
  document.write('<br>');
  document.write('<div id="preview">');
  document.write('<img class="thumbnail" alt="" name="screenshot" src="' + minArr[0].src + '" onClick="dest()">');
  document.write('<div id="caption"><\/div>');
  document.write('<\/div><\/div>');
}

function preview(t,a) {
  unmarkAll();
  document.getElementById(a).style.visibility='visible';
  document.getElementById('preview').style.display='block';
  document.getElementById('caption').innerHTML=himage[t].Title;
  document.images.screenshot.src=minArr[t].src;
  document.images.screenshot.title='Click for Access Now';
}

function dest() {
  for (x=0; x<himage.length; x++) {
    if (document.images.screenshot.src==minArr[x].src) {
      window.open(himage[x].web, 'offsite');
    }
  }
}

function hide() {
  document.getElementById('preview').style.display='none';
  unmarkAll();
}

function unmarkAll() {
  for (c=0; c<himage.length; c++) document.getElementById(himage[c].handwID).style.visibility='hidden';
}
// End -->