jslous.noConflict();
var root_path = 'http://'+location.host+'/'+'';
//var root_path = 'http://'+location.host+'/'+'';
var js = jslous;
js(function(){
 js('a.startrade').click(function(){
  jslous.popup.open(root_path+'kekka/',{
   'resizable':'yes',
   'scrollbars':'yes',
   'toolbar':'no',
   'menubar':'no',
   'directories':'no',
   'status':'no',
   'location':'no',
   'width':'600',
   'height':(jslous.Agents.ie ? '420':'410')
  });
 }).query('div.output').each(function(){
  var elm = this;
  if(elm && elm.tagName && elm.tagName.toLowerCase() == 'div'){
   js('p',elm).push('div',elm).each(function(){
    var e = this;
    if(e && e.tagName && (e.tagName.toLowerCase() == 'p' || e.tagName.toLowerCase() == 'div')){
     if(e.getAttribute('align')){
      e.style['textAlign'] = e.getAttribute('align');
     }
    }
   });
  }
 });
});