﻿// JScript File
//nina magbanua, 05/07/2008, remove excess javascript file on tracking.inc
function showDiv(parent,id) {
  var placement = findPos(parent);
  mmOpenContainer = "" + id;
  if (document.layers) {
  document.layers[''+id+''].visibility = "show"
  document.layers[''+id+''].display = "block"
  document.layers[''+id+''].style.left = ( placement[0] - 100 ) + "px";
  document.layers[''+id+''].style.top = placement[1] + "px";
  }else if (document.all) {
  document.all[''+id+''].style.visibility = "visible"
  document.all[''+id+''].style.display = "block"
  document.all[''+id+''].style.left = ( placement[0] - 100 ) + "px";
  document.all[''+id+''].style.top = placement[1] + "px";
  }else if (document.getElementById){
  document.getElementById(''+id+'').style.visibility = "visible"
  document.getElementById(''+id+'').style.display = "block"
  document.getElementById(''+id+'').style.left = ( placement[0] - 100 ) + "px";
  document.getElementById(''+id+'').style.top = placement[1] + "px";
  }
  }
  function hideDiv(id) {
  if (document.layers) {
  document.layers[''+id+''].visibility = "hide";
  document.layers[''+id+''].display = "none" ;
  }
  else if (document.all) {
  document.all[''+id+''].style.visibility = "hidden";
  document.all[''+id+''].style.display = "none";
  }
  else if (document.getElementById) {
  document.getElementById(''+id+'').style.visibility = "hidden";
  document.getElementById(''+id+'').style.display = "none";
  }
  }
  function findPos(obj) {
  var brow=((navigator.appName));
  var curleft = 0;
  var curtop = 0;
  if (obj.offsetParent) {
  curleft = obj.offsetLeft;
  curtop = obj.offsetTop;
  while (obj = obj.offsetParent) {
  curleft += obj.offsetLeft;
  curtop += obj.offsetTop;
  }
  }
  if (brow == "Microsoft Internet Explorer") {
  return [curleft,curtop+30];
  } else {
  return [curleft,curtop+10];
  }
  }
  
  
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));


  var finalPageName = "" ;
  var finalChannel = "" ;
  var eventName = "" ;
  var productName = "" ;
  var purchaseID = "" ;
  var prop1 = "" ;
  var prop2 = "" ;
  var prop3 = "" ;
  var prop4 = "" ;
  var prop5 = "" ;
  var prop6 = "" ;
  var prop7 = "" ;
  var prop8 = "" ;
  
  function recordEvent(eventName, product) {
    s.events = eventName ;
    s.products = productName ;
    /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
    var s_code=s.t();if(s_code)document.write(s_code)
  }