// default.js - javascript for default.asp page

function setstylesheet() {
  var hr = (screen.width>=1024);
  var o = document.styleSheets;
  for (var i=0;i<o.length;i++) {
    if (o[i].title=="high") o[i].disabled = !hr;
    if (o[i].title=="low") o[i].disabled = hr;
    if (o[i].title=="defaulthi") o[i].disabled = false;
  }
	return hr;
}

var glHiRes = setstylesheet();

function iNormal(t) {
  t.className = "normal";
}

function iHover(t) {
  t.className = "hover";
}

function dodesc(n) {
  var s;
  if (n == 0) s = "";
	else if (n == 1) s = "Natural jewelry &amp; fashion accessories - 100% Balinese. Offering necklaces, pendants, earrings, bracelets &amp; belts made from shell, wood, beads, and bone.";
	else if (n == 2) s = "Hand-crafted chunky, funky stone &amp; glass bead jewelry, featuring chokers, necklaces, bracelets &amp; rings.";
	else if (n == 3) s = "Custom fashion jewelry made from your logos and pictures. Select an image - choose your jewelry - that's all there is to it!";
	else if (n == 4) s = "Wood, bone &amp; horn fashion jewelry - bracelets, necklaces, earrings, and rings.";
	else if (n == 5) s = "Semi-precious gemstone jewelry inspired by traditional Balinese designs, (bracelets, earrings, lockets &amp; pendants).";
	else if (n == 6) s = "Traditional prakeuam silver beads from Thailand.";
	else if (n == 7) s = "Fashion jewelry - unique designs - in aluminium, brass, and copper. We offer a wide range of earrings, necklaces &amp; bracelets.";
  else s = "";
	document.getElementById("sitedesc").innerHTML = s;
}

