//This file writes out the div to the article pages and also creates the links for flash promo on sectionfronts
//Updated to no longer write out the flash movie

var rawXml;
var xmlPath;
var envUrl ='';

//Omniture Variables
var _ss1='Digg';
var _ss2='Google';
var _ss3='Yahoo';
var _ss4='Delicious';
var _ss5='Reddit';
var _ss6='Facebook';
var _ss7='Newsvine';
var _ss8='MyLATimes';
var _ss9='Netvibes';
var _ss10='My Yahoo';
var _ss11='Mixx';

//New feedtable with source for raw xml for each section
var feedTable='';
feedTable+='/business/	http://feeds.latimes.com/latimes/business/	http://xml.latimes.com/business/rss2.0.xml\n';
feedTable+='/business/investing/	http://feeds.latimes.com/latimes/business/investing/	http://xml.latimes.com/business/investing/rss2.0.xml\n';
feedTable+='/entertainment/news/	http://feeds.latimes.com/latimes/entertainment/	http://xml.latimes.com/entertainment/news/rss2.0.xml\n';
feedTable+='/entertainment/news/more/	http://feeds.latimes.com/latimes/entertainment/	http://xml.latimes.com/entertainment/news/rss2.0.xml\n';
feedTable+='/entertainment/news/arts/	http://feeds.latimes.com/latimes/entertainment/news/arts/	http://xml.latimes.com/entertainment/news/arts/rss2.0.xml\n';
feedTable+='/entertainment/news/business/	http://feeds.latimes.com/entertainment/business/	http://xml.latimes.com/entertainment/news/business/rss2.0.xml\n';
feedTable+='/entertainment/news/business/more/	http://feeds.latimes.com/entertainment/business/	http://xml.latimes.com/entertainment/news/business/rss2.0.xml\n';
feedTable+='/entertainment/news/celebrity/	http://feeds.latimes.com/entertainment/news/celebrity/	http://xml.latimes.com/entertainment/news/celebrity/rss2.0.xml\n';
feedTable+='/entertainment/news/celebrity/more/	http://feeds.latimes.com/entertainment/news/celebrity/	http://xml.latimes.com/entertainment/news/celebrity/rss2.0.xml\n';
feedTable+='/entertainment/news/features/	http://feeds.latimes.com/latimes/entertainment/	http://xml.latimes.com/entertainment/news/rss2.0.xml\n';
feedTable+='/entertainment/news/galleries/	http://feeds.latimes.com/latimes/entertainment/	http://xml.latimes.com/entertainment/news/rss2.0.xml\n';
feedTable+='/entertainment/news/homeentertainment/	http://feeds.latimes.com/entertainment/home/	http://xml.latimes.com/entertainment/news/homeentertainment/rss2.0.xml\n';
feedTable+='/entertainment/news/homeentertainment/more/	http://feeds.latimes.com/entertainment/home/	http://xml.latimes.com/entertainment/news/homeentertainment/rss2.0.xml\n';
feedTable+='/entertainment/news/interactive/	http://feeds.latimes.com/entertainment/home/	http://xml.latimes.com/entertainment/news/homeentertainment/rss2.0.xml\n';
feedTable+='/entertainment/news/interactive/more/	http://feeds.latimes.com/entertainment/home/	http://xml.latimes.com/entertainment/news/homeentertainment/rss2.0.xml\n';
feedTable+='/entertainment/news/movies/	http://feeds.latimes.com/latimes/entertainment/news/movies/	http://xml.latimes.com/entertainment/news/movies/rss2.0.xml\n';
feedTable+='/entertainment/news/movies/summer/	http://feeds.latimes.com/latimes/entertainment/news/movies/	http://xml.latimes.com/entertainment/news/movies/rss2.0.xml\n';
feedTable+='/entertainment/news/movies/more/	http://feeds.latimes.com/latimes/entertainment/news/movies/	http://xml.latimes.com/entertainment/news/movies/rss2.0.xml\n';
feedTable+='/entertainment/news/reviews/movies/	http://feeds.latimes.com/latimes/entertainment/news/movies/	http://xml.latimes.com/entertainment/news/movies/rss2.0.xml\n';
feedTable+='/entertainment/news/newmedia/	http://feeds.latimes.com/entertainment/newmedia/	http://xml.latimes.com/entertainment/news/newmedia/rss2.0.xml\n';
feedTable+='/entertainment/news/newmedia/more/	http://feeds.latimes.com/entertainment/newmedia/	http://xml.latimes.com/entertainment/news/newmedia/rss2.0.xml\n';
feedTable+='/entertainment/news/tv/	http://feeds.latimes.com/latimes/entertainment/news/tv/	http://xml.latimes.com/entertainment/news/tv/rss2.0.xml\n';
feedTable+='/entertainment/news/tv/more/	http://feeds.latimes.com/latimes/entertainment/news/tv/	http://xml.latimes.com/entertainment/news/tv/rss2.0.xml\n';
feedTable+='/entertainment/news/reviews/tv/	http://feeds.latimes.com/latimes/entertainment/news/tv/	http://xml.latimes.com/entertainment/news/tv/rss2.0.xml\n';
feedTable+='/entertainment/news/music/	http://feeds.latimes.com/latimes/entertainment/news/music/	http://xml.latimes.com/entertainment/news/music/rss2.0.xml\n';
feedTable+='/entertainment/news/music/more/	http://feeds.latimes.com/latimes/entertainment/news/music/	http://xml.latimes.com/entertainment/news/music/rss2.0.xml\n';
feedTable+='/entertainment/news/reviews/music/	http://feeds.latimes.com/latimes/entertainment/news/music/	http://xml.latimes.com/entertainment/news/music/rss2.0.xml\n';
feedTable+='/theguide/	http://feeds.latimes.com/theguide/printedition/	http://xml.latimes.com/theguide/rss2.0.xml\n';
feedTable+='/theguide/more/	http://feeds.latimes.com/theguide/printedition/	http://xml.latimes.com/theguide/rss2.0.xml\n';
feedTable+='/theguide/art/	http://feeds.latimes.com/theguide/art/	http://xml.latimes.com/theguide/art/rss2.0.xml\n';
feedTable+='/theguide/art/more/	http://feeds.latimes.com/theguide/art/	http://xml.latimes.com/theguide/art/rss2.0.xml\n';
feedTable+='/theguide/bars-and-clubs/	http://feeds.latimes.com/theguide/bars-and-clubs/	http://xml.latimes.com/theguide/bars-and-clubs/rss2.0.xml\n';
feedTable+='/theguide/bars-and-clubs/more/	http://feeds.latimes.com/theguide/bars-and-clubs/	http://xml.latimes.com/theguide/bars-and-clubs/rss2.0.xml\n';
feedTable+='/theguide/events-and-festivals/	http://feeds.latimes.com/theguide/events-and-festivals/	http://xml.latimes.com/theguide/events-and-festivals/rss2.0.xml\n';
feedTable+='/theguide/events-and-festivals/more/	http://feeds.latimes.com/theguide/events-and-festivals/	http://xml.latimes.com/theguide/events-and-festivals/rss2.0.xml\n';
feedTable+='/theguide/music/	http://feeds.latimes.com/theguide/music/	http://xml.latimes.com/theguide/music/rss2.0.xml\n';
feedTable+='/theguide/music/more/	http://feeds.latimes.com/theguide/music/	http://xml.latimes.com/theguide/music/rss2.0.xml\n';
feedTable+='/theguide/performing-arts/	http://feeds.latimes.com/theguide/performing-arts/	http://xml.latimes.com/theguide/performing-arts/rss2.0.xml\n';
feedTable+='/theguide/performing-arts/more/	http://feeds.latimes.com/theguide/performing-arts/	http://xml.latimes.com/theguide/performing-arts/rss2.0.xml\n';
feedTable+='/theguide/restaurants/	http://feeds.latimes.com/theguide/restaurants/	http://xml.latimes.com/theguide/restaurants/rss2.0.xml\n';
feedTable+='/theguide/restaurants/more/	http://feeds.latimes.com/theguide/restaurants/	http://xml.latimes.com/theguide/restaurants/rss2.0.xml\n';
feedTable+='/theguide/news/reviews/music/	http://feeds.latimes.com/latimes/entertainment/news/music/	http://xml.latimes.com/entertainment/news/music/rss2.0.xml\n';
feedTable+='/theguide/news/reviews/music/	http://feeds.latimes.com/latimes/entertainment/news/music/	http://xml.latimes.com/entertainment/news/music/rss2.0.xml\n';

function setPath() {

	var tHref = document.location.toString();
	var tSplit = new Array();
	var sectionPath='';
	tSplit = tHref.split('/');
	//alert(tSplit.length);
	
	if (tSplit[2]=='latimes.design.tii.trb' || tSplit[2]=='latimes.testprod.rc.trb' || tSplit[2]=='latimes.test.tii.trb' || tSplit[2]=='www.latimes.com' ) {
   		if (tSplit.length>=8) sectionPath='/'+tSplit[3]+'/'+tSplit[4]+'/'+tSplit[5]+'/'+tSplit[6]+'/';
		else if (tSplit.length==7) sectionPath='/'+tSplit[3]+'/'+tSplit[4]+'/'+tSplit[5]+'/';
		else if (tSplit.length==6) sectionPath='/'+tSplit[3]+'/'+tSplit[4]+'/';
		else if (tSplit.length==5) sectionPath='/'+tSplit[3]+'/';
		
//	alert(sectionPath);
	var s=feedTable.indexOf(sectionPath);
	
		if (s!=-1) {
			var v=feedTable.indexOf('\n', s+1);
		if (v!=-1) {
			var w=feedTable.substring(s, v);
			tSplit=w.split('\t');
			xmlPath=escape(tSplit[1]);
			rawXml= tSplit[2];
		}

		}
		else xmlPath='';
		
	//write story widget for sections without rss feeds
	//var t1Host=document.location.hostname;

	if (xmlPath == "") {
	
		var _s1='&nbsp;&nbsp;&nbsp;';
		var _l1=document.location.href; //+'%3Ftrack='
		var _t1=document.title;
		var _y1='';
	
		var _mixxwire='http://www.mixx.com/submit/story?page_url='+escape(_l1)+'&title='+escape(_t1)+'&description='+encodeURIComponent(unescape(_y1))+'&partner=LAT';
			_mixxwire='<a target="_new" href="'+_mixxwire+'" onClick="setVars(_ss11)" >';
	
		var _diggwire='http://digg.com/submit?phase=2&url=' +_l1+'&title='+ encodeURIComponent(_t1) +'&bodytext='+ _y1; //no need to encode bodytext';
			_diggwire='<a target="_new" href="'+_diggwire+'" onClick="setVars(_ss1)">';
	
		var _gglewire='http://www.google.com/bookmarks/mark?op=add&title='+ _t1+'&labels=&annotation='+_y1+'&bkmk=' + _l1;
			_gglewire='<a target="_new" href="'+_gglewire+'" onClick="setVars(_ss2)">';
	
		var _yhoowire='http://myweb.search.yahoo.com/myresults/bookmarklet?ei=UTF-8&u='+encodeURIComponent(_l1)+'&t='+escape(_t1)+'&d='+_y1; //+'\'&popup=true';
			_yhoowire='<a href="http://myweb.search.yahoo.com/" onClick="setVars(_ss3, \''+_yhoowire+'\'); return false;" >';
	
		var _deliwire='http://del.icio.us/post?v=4&noui&jump=close&url='+encodeURIComponent(_l1)+'&title='+escape(_t1)+'&notes='+_y1;
	            _deliwire='<a href="http://del.icio.us/" onClick="setVars(_ss4, \''+_deliwire+'\'); return false;" >';
	
		var _reddwire='http://reddit.com/submit?url='+ _l1+'&title='+ _t1;
	            _reddwire='<a target="_new" href="'+_reddwire+'" onClick="setVars(_ss5)">';
	
		var _face2wire='http://www.facebook.com/sharer.php?u='+encodeURIComponent( _l1)+'&t='+escape(_t1);
	            _face2wire='<a href="http://www.facebook.com/" onClick="setVars(_ss6, \''+_face2wire+'\'); return false;" >';
	
		var _vinewire='http://www.newsvine.com/_wine/save?aff=latimes&h='+escape(_t1)+'&e='+_y1+'&u='+encodeURIComponent(_l1)+'&t1=';
			_vinewire='<a href="http://www.newsvine.com/" onClick="setVars(_ss7, \''+_vinewire+'\'); return false;" >';
			
		if (document.getElementById('socialnet')) {
		  var _ss='&nbsp;';//3 non breaking spaces
		  
 
  document.write('<style type="text/css">');
  document.write('#newsocialnet { margin:0 1px; }');
  document.write('#newsocialnet a { margin-left:10px; }');
  document.write('#newsocialnet img { margin:4px 0; border:1px solid #cdcdcd; vertical-align:middle; }');
  document.write('</style>');

		var newstorywidgetwire='<div id="newsocialnet" style="height:28px; padding-left:4px; border:1px solid #fff;">';
		newstorywidgetwire+='<span style="font:11px Arial;vertical-align:text-top;">';
		newstorywidgetwire+='<span style="margin-top:1px;"><strong>Save/Share</strong></span>';	
		newstorywidgetwire+=_mixxwire+'<img border="0" title="Mixx" src="http://www.latimes.com/images/mylatimes/mixx.gif"/></a>'+_ss;
		newstorywidgetwire+=_gglewire+'<img border="0" title="Google" src="http://www.latimes.com/images/mylatimes/google.gif"/></a>'+_ss;
		newstorywidgetwire+=_diggwire+'<img border="0" title="Digg" src="http://www.latimes.com/images/mylatimes/digg.gif"/></a>'+_ss;
		newstorywidgetwire+=_deliwire+'<img border="0" title="Del.icio.us" src="http://www.latimes.com/images/mylatimes/delicious.gif"/></a>'+_ss;
		newstorywidgetwire+=_reddwire+'<img border="0" title="Reddit" src="http://www.latimes.com/images/mylatimes/reddit.gif"/></a>'+_ss;
		newstorywidgetwire+=_face2wire+'<img border="0" title="Facebook" src="http://www.latimes.com/images/mylatimes/facebook.gif"/></a>'+_ss;
		newstorywidgetwire+=_yhoowire+'<img border="0" title="Yahoo" src="http://www.latimes.com/images/mylatimes/yahoo.gif"/></a>'+_ss;
		newstorywidgetwire+=_vinewire+'<img border="0" title="Newsvine" src="http://www.latimes.com/images/mylatimes/newsvine.gif"/></a>'+_ss;
		newstorywidgetwire+='</span></div>';
		
		document.getElementById('socialnet').innerHTML=newstorywidgetwire;
	        }
    	}
	//end write story widget
		
	}
}


function checkUrl() {
  envUrl = '';
   if (top.location.href.indexOf('.trb/') > -1) { envUrl = 'qa.'; }
}

function submylatimes(tVar) {
 //checkUrl();
	//alert('submylatimes '+xmlPath);
	var tHost=document.location.hostname;
	if (tHost=='latimes.design.tii.trb' || tHost=='latimes.testprod.rc.trb' || tHost=='latimes.test.tii.trb' || tHost=='www.latimes.com') {
	
		if (xmlPath!='') {
	
			if (tVar=='flashwidget') window.location= 'http://' + envUrl + 'my.latimes.com/add_feed_external?link='+xmlPath;
			else if (tVar=='') storyWriteDiv();
	
		}	
	}
}


function storyWriteDiv() {


 //checkUrl();
     //alert('storyWriteDiv');
     //Only write out if on an article page
     //if (document.URL.indexOf(',') == -1) {
     if  ((document.URL.indexOf('/entertainment/news/') != -1) || (document.URL.indexOf('/theguide/') != -1) || (document.URL.indexOf('/business/') != -1) ) {
	
	var moreLink = unescape(xmlPath);
	//alert(moreLink);
	
	var _s='&nbsp;&nbsp;&nbsp;';
	var _l=document.location.href; //+'%3Ftrack='
	var _t=document.title;
	var _y='';
	
	if (document.getElementById('mltSubhead')) _y=escape(document.getElementById('mltSubhead').value);

        //var _digg='http://digg.com/submit?phase=2&url=' +_l+'&title='+ encodeURIComponent(_t) +'&bodytext='+ encodeURIComponent(_y); //+'&bodytext=sample abstract for story';
        var _digg='http://digg.com/submit?phase=2&url=' +_l+'&title='+ encodeURIComponent(_t) +'&bodytext='+ _y; //no need to encode bodytext';
			_digg='<a target="_new" href="'+_digg+'" onClick="setVars(_ss1)">';
			
		var _ggle='http://www.google.com/bookmarks/mark?op=add&title='+ _t+'&labels=&annotation='+_y+'&bkmk=' + _l;
			_ggle='<a target="_new" href="'+_ggle+'" onClick="setVars(_ss2)">';
			
		var _yhoo='http://myweb.search.yahoo.com/myresults/bookmarklet?ei=UTF-8&u='+encodeURIComponent(_l)+'&t='+escape(_t)+'&d='+_y; //+'\'&popup=true';
			_yhoo='<a href="http://myweb.search.yahoo.com/" onClick="setVars(_ss3, \''+_yhoo+'\'); return false;" >';
			
		var _deli='http://del.icio.us/post?v=4&noui&jump=close&url='+encodeURIComponent(_l)+'&title='+escape(_t)+'&notes='+_y;
			//_deli='<a href="http://del.icio.us/" onClick="void(setVars(_ss4);window.open(\''+_deli+'\', \'delicious\',\'toolbar=no,width=700,height=420\');)">';
			_deli='<a href="http://del.icio.us/" onClick="setVars(_ss4, \''+_deli+'\'); return false;" >';
			
		var _redd='http://reddit.com/submit?url='+ _l+'&title='+ _t;
			_redd='<a target="_new" href="'+_redd+'" onClick="setVars(_ss5)">';
			
		var _face2='http://www.facebook.com/sharer.php?u='+encodeURIComponent( _l)+'&t='+escape(_t);
			//_face2='<a href="http://www.facebook.com/" onClick="void(setVars(_ss6);window.open(\''+_face2+'\', \'sharer\',\'toolbar=no,width=642,height=436\');)">';
			_face2='<a href="http://www.facebook.com/" onClick="setVars(_ss6, \''+_face2+'\'); return false;" >';
			
		var _vine='http://www.newsvine.com/_wine/save?aff=latimes&h='+escape(_t)+'&e='+_y+'&u='+encodeURIComponent(_l)+'&t=';
			_vine='<a href="http://www.newsvine.com/" onClick="setVars(_ss7, \''+_vine+'\'); return false;" >';

		var _mixx='http://www.mixx.com/submit/story?page_url='+escape(_l)+'&title='+escape(_t)+'&description='+encodeURIComponent(unescape(_y))+'&partner=LAT';
			_mixx='<a target="_new" href="'+_mixx+'" onClick="setVars(_ss11)" >';
		
	//document.write('<div id="mltpromo" class="content11" style="background-color:#FFFFFF;text-align:left;line-height:20px;"><table border="0" cellpadding="4" style="line-height:12px;border-top:1px solid #eee;border-bottom:1px solid #ccc"><tr><td><strong>Subscribe</strong><br />to Section</td>');
	
	//document.write('<td><a href="http://' + envUrl + 'my.latimes.com/add_feed_external?link='+xmlPath
	//			   +'" onClick="setVars(_ss8)"><img border=0 src="/images/mylatimes/mlt-2.gif" title ="Add to MyLATimes" alt="Add to MyLATimes"></a></td>');
	
	//document.write('<td><br /><a href="'+ moreLink +'">More RSS Readers&nbsp;&gt;</a></td></tr></table></div>');

document.write('<style type="text/css">');
document.write('#rss{height:20px}');
document.write('#rss div{float:left;width:50%;text-align:center; font-family:Arial;font-size:12px;}');
document.write('.box_striped {background:transparent url(http://www.latimes.com/images/entnews/bg-diag-stripes-tan.gif) repeat scroll 0%;margin-bottom:18px;padding:13px;');
document.write('</style>');

document.write('<div style="height: 18px;" class="box_striped" id="rss">');
document.write('<div class="rss_subscribe" style="width:65px; margin-top:-6px;"><b>Subscribe</b><br/>to Section:<br/></div>');
document.write('<div class="rss_myla" style="width:120px;"><a href="http://my.latimes.com/add_feed_external?link='+ xmlPath +'" onClick="setVars(_ss8)"><img border="0" alt="" src="http://www.latimes.com/images/entnews/mylatimes.gif"/></a></div>');
document.write('<div class="rss_more" style="width:100px;"><a href="'+ moreLink +'"><img border="0" src="http://www.latimes.com/images/entnews/morerss.gif"/></a></div>');
document.write('</div>');



	if (document.getElementById('socialnet')) {
		var _ss='';//_s+_s+_s+_s;
		
  document.write('<style type="text/css">');
  document.write('#newsocialnet { margin:0 1px; border-top:1px solid #eee; border-bottom:1px solid #eee; }');
  document.write('#newsocialnet a { margin-left:10px; }');
  document.write('#newsocialnet img { margin:4px 0; border:1px solid #cdcdcd; vertical-align:middle; }');
  document.write('</style>');

	var newstorywidget='<div id ="newsocialnet" style="height:28px;border:1px solid #fff; border:1px solid #fff;">';
	newstorywidget+='<span style="font:11px Arial;vertical-align:text-top;">';
	newstorywidget+='<span style="margin-top:1px;"><strong>Save/Share</strong></span>';
	
		//if (document.location.host=="latimes.testprod.rc.trb") {
		_mixx=_mixx.replace(encodeURIComponent("latimes.testprod.rc.trb"), encodeURIComponent("www.latimes.com"));
		newstorywidget+=_mixx+'<img border="0" title="Mixx" src="http://www.latimes.com/images/mylatimes/mixx.gif"/></a>'+_ss;
		//}
		
	newstorywidget+=_ggle+'<img border="0" title="Google" src="http://www.latimes.com/images/mylatimes/google.gif"/></a>'+_ss;
	newstorywidget+=_digg+'<img border="0" title="Digg" src="http://www.latimes.com/images/mylatimes/digg.gif"/></a>'+_ss;
	newstorywidget+=_deli+'<img border="0" title="Del.icio.us" src="http://www.latimes.com/images/mylatimes/delicious.gif"/></a>'+_ss;
	newstorywidget+=_redd+'<img border="0" title="Reddit" src="http://www.latimes.com/images/mylatimes/reddit.gif"/></a>'+_ss;
	newstorywidget+=_face2+'<img border="0" title="Facebook" src="http://www.latimes.com/images/mylatimes/facebook.gif"/></a>'+_ss;
	newstorywidget+=_yhoo+'<img border="0" title="Yahoo" src="http://www.latimes.com/images/mylatimes/yahoo.gif"/></a>'+_ss;
	newstorywidget+=_vine+'<img border="0" title="Newsvine" src="http://www.latimes.com/images/mylatimes/newsvine.gif"/></a>'+_ss;
	newstorywidget+='</span></div>';
	
	document.getElementById('socialnet').innerHTML=newstorywidget;
	}
    }
}

setPath();
//checkUrl();


function writeFlashSpan() {
	var	flashDiv='';
	flashDiv+='<div align="left" style="margin: 10px 0;"><table width="300" border="0" cellspacing="0" cellpadding="0"><tbody><tr>';
	flashDiv+='<td class="tabrow" style="padding-top: 3px; text-align: justify;margin-right: 4px;">';

	flashDiv+='<span class="evtab" id="viewedtab"  style="margin-right: 4px; background-color: rgb(255, 255, 255); position: relative; top: -1px; padding-bottom: 2px;">';
	flashDiv+='<a target="mosttabs" href="/la-most-viewed-sectionfront,0,4911951.include">Most Viewed</a></span>';
	flashDiv+='<span class="evtab" id="emailedtab">';
	flashDiv+='<a target="mosttabs" href="/la-most-emailed-sectionfront,0,7352907.include">Most E-mailed</a></span></td></tr>';	
	flashDiv+='<tr valign="top"><td style="padding-top: 0px;">';

	flashDiv+='<iframe width="300" height="180" src="/la-most-viewed-sectionfront,0,4911951.include" name="mosttabs" id="mosttabsid" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>';
	flashDiv+='</td></tr></tbody></table></div>';
	document.write(flashDiv);	
	 
}

function setVars(oVar, oData){
	if (oVar=='Yahoo') void(window.open(oData, 'MyWeb', 'toolbar=no,width=800,height=540,resizable=yes'));
	else if (oVar=='Delicious') void(window.open(oData, 'delicious', 'toolbar=no,width=700,height=290,resizable=yes'));
	else if (oVar=='Facebook') void(window.open(oData, 'sharer', 'toolbar=no,width=642,height=436,resizable=yes'));
	else if (oVar=='Newsvine') void(window.open(oData, 'newsvine', 'width=650,height=445,resizable=yes,scrollbars=no'));
	
   omnVar = oVar;
   //alert(omnVar);
   var s=s_gi(s_account);
     s.linkTrackVars='events,eVar27';
     s.linkTrackEvents='event11';
     s.events='event11';
     s.eVar27= omnVar;
     void(s.tl(this,'o','Social Bookmark Click')); 
     s.events = '';
     s.eVar27 = '';
     s.linkTrackVars = 'None';
     s.linkTrackEvents = 'None'; 
}
