
/* ----------------------------------------------*/
/* common object */
/* ----------------------------------------------*/

var is;
function is_sc_variables(){
    this.pageName="";
    this.channel="";
    this.category="";
    this.detailPageName="";
    this.keyWordSearch="";
    this.keyWordNews="";
    this.NewsID="";
    this.NewsTopicsID="";
    this.url="";
}


/* ----------------------------------------------*/
/* common method */
/* ----------------------------------------------*/

function codeToPaste() {

/* You may give each page an identifying name, server, and channel on the next lines. */
/* Success Events */

/* Traffic Variables */
s.pageName=is.channel + ":" + is.category + ":" + is.detailPageName
s.channel=is.channel
s.prop1=is.category
s.prop2=is.detailPageName
s.prop3=is.url
s.prop4=""
s.prop5=""
s.prop6=""
s.prop7=""
s.prop8=""
s.prop9=""
s.prop10=""
s.prop11=is.NewsID
s.prop12=is.NewsTopicsID
s.prop13=""
s.prop14=""
s.prop15=""
s.prop16=""
s.prop17=""
s.prop18=""
s.prop19=""
s.prop20=""
s.prop21=""
s.prop22=""
s.prop23=""
s.prop24=""
s.prop25=""
s.prop26=""
s.prop27=""
s.prop28=""
s.prop29=""
s.prop30=""
s.prop31=""
s.prop32=""
s.prop33=""
s.prop34=""
s.prop35=""
s.prop36=""
s.prop37=""
s.prop38=""
s.prop39=""
s.prop40=""

/* E-commerce Variables */
s.eVar1=""
s.eVar2=""
s.eVar3=""
s.eVar4=""
s.eVar5=""
s.eVar6=""
s.eVar7=""
s.eVar8=""
s.eVar9=""
s.eVar10=""
s.eVar11=""
s.eVar12=""
s.eVar13=""
s.eVar14=""
s.eVar15=""
s.eVar16=""
s.eVar17=""
s.eVar18=""
s.eVar19=""
s.eVar20=""
s.eVar21=is.keyWordSearch
s.eVar22=is.keyWordNews
s.eVar23=""
s.eVar24=""
s.eVar25=""
s.eVar26=""
s.eVar27=""
s.eVar28=""
s.eVar29=""
s.eVar30=""
s.eVar31=""
s.eVar32=""
s.eVar33=""
s.eVar34=""
s.eVar35=""
s.eVar36=""
s.eVar37=""
s.eVar38=""
s.eVar39=""
s.eVar40=""

// ************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code)
// End SiteCatalyst code version: H.9.

}


/* ----------------------------------------------*/
/* common method */
/* ----------------------------------------------*/

function getParameter(str){
  var par = new Array, itm;
  if(typeof(str) == 'undefined') return par;
  if(str.indexOf('?', 0) > -1) str = str.split('?')[1];
  str = str.split('&');
  for(var i = 0; str.length > i; i++){
    itm = str[i].split("=");
    if(itm[0] != ''){
      par[itm[0]] = typeof(itm[1]) == 'undefined' ? true : itm[1];
    }
  }
  return par;
}
