function stoperror(){return true}window.onerror=stoperror;
//var affInterfaceOptions = 'aff=TeamTripleGz3&skin=17&cols=3&rows=8&shop=n2-blue&currency=0&locale=en';

var affInterfaceOptions = 'aff=TeamTripleGz3&cols=3&rows=8&skin=17&sadult=off&sp=0&currency=0&iw=525&category=0&pr=yes&locale=en&src=yes&nt=no&frname=temps';

function IncludeAffInterface(options,file){
  if(!file) file = 'interface';
  options = affInterfaceOptions + (options ? '&'+options : '');
  document.write('<SCRIPT type="text/javascript" language="JavaScript" src="http://www.mytemplatestorage.com/codes/'+file+'.php?'+options+'"><'+'/SCRIPT>');
}

function Popup(url){
  window.open(
    url,
    'window',
    'width=620, height=620, resizable=no, scrollbars=yes, location=no, toolbar=no, menubar=no, status=no'
  );
}
// Hide "www.mytemplatestorage.com" from status bar
function HideStatus(){
  window.status = document.readyState!="complete" ?
    "Loading our 10,000 templates now ..." : window.defaultStatus;
}
document.onMouseover = window.defaultStatus="Las Vegas Website Template Center, over 10,000 templates to choose from ...";document.onMouseout = window.defaultStatus="Las Vegas Website Template Center, over 10,000 templates to choose from ...";document.all.onMouseover = window.defaultStatus="Las Vegas Website Template Center, over 10,000 templates to choose from ...";
document.onreadystatechange = window.defaultStatus="Las Vegas Website Template Center, over 10,000 templates to choose from ...";
var MessageText = document.title;//"Las Vegas Website Template Center, over 10,000 templates to choose from ..."
var DisplayLength = 130
var pos = 1 - DisplayLength;
function ScrollInStatusBar(){
var scroll = "";
pos++;
if (pos == MessageText.length) pos = 1 - DisplayLength;
if (pos<0)
  {
for (var i=1; i<=Math.abs(pos); i++)
scroll = scroll + "";
    scroll = scroll + MessageText.substring(0, DisplayLength - i + 1);
  }
else
    scroll = scroll + MessageText.substring(pos, pos + DisplayLength);
window.status = scroll;
//Scrolling speed
setTimeout("ScrollInStatusBar()",30);
}
ScrollInStatusBar();
