document.write("<style type='text/css'>.subs{ padding: 1px; border: 1px solid #b6b6b6; margin: .6em 0 .6em 0 !important;} .subs a{ color: #666666 !important; border: 0 !important; text-decoration: none !important;} .subs a:hover{ color: #ADADAD !important; border: 0 !important; text-decoration: none !important;} .subs_header{ font-size: .9em; font-weight: bold; position: relative;} .subs_header_text{ background: #E5E5E5 !important; padding: 1em 1em 1em 1em !important;} .subs_header_toggle{ display: block; position: absolute; top: 1em; right: 1em; font-weight: bold; cursor: pointer;} .subs_subheader{ padding: .7em .7em .5em .7em !important; border: 0 !important; margin: 0 !important; font-size: 1em !important; background: #E5E5E5 !important; font-weight: bold;} .subs_subcontent{ font-size: 0.95em; line-height: 1em !important; margin: .15em 0 .15em 0 !important; padding: .2em !important; background: white !important; border-top: 2px solid #E5E5E5 !important; border-bottom: 2px solid #E5E5E5 !important; overflow: hidden; height: auto;} .subs_subcontent p{ margin: .45em .15em .45em .15em !important; padding: 0 !important;} .subs_subcontent_left{ float: right !important; margin: 0 0 .5em .5em !important;} .subs img{ margin: .2em !important; max-width: 150px !important; max-height: 150px !important; border: 0 !important; padding: 0 !important;} .subs img:hover, .subs_subcontent_left a:hover{ border: 0 !important;} .subs_subcontent_right{ } .subs_subcontent table{ width: auto !important;} .subs_subcontent td{ padding: 0em !important; vertical-align: top !important;} .subs_subcontent .td_left{ width: 10px !important; font-weight: bold !important;} .subs_footer{ padding: .3em !important; font-size: .9em !important; text-align: right !important; background: #E5E5E5 !important; color:#666666 !important;} .subs_footer a{ font-weight: bold; }");

//style for form
document.write("#trial_form h3 {font-weight:normal;font-size:16px;line-height:18px;font-family:Georgia,Arial,Verdana;margin-bottom:8px;margin-top:30px;font-weight:bold;}#trial_form p {margin: 0px;padding: 2px 6px 0px 6px;font-size: 10px;}#trial_form p a, #trial_form p a:link, #trial_form p a:visited, #trial_form p a:hover {font-size: 10px;line-height: 10px;}#trial_form form {margin: 0px;padding: 0px;text-align: right;}#trial_form form .field {width: 81px;height: 16px;border: 1px solid #707070;border-width: 1px 0px 0px 1px;float: left;font-size: 10px;color: #5C6255;margin: 0px 4px 3px 2px;padding: 0px;}#trial_form form .trial_submit {clear: left;text-align: right;width: 55px;height: 18px;border: 0;margin: 6px 15px 0px 0px;}#trial_wrapper {width: 175px;height: 105px;margin:15px 0 10px 0;border:1px solid #efefef;padding:2px;clear:both;display: block;}#trial_form {float: left;width: 190px;padding-top:10px;}#trial_form form .field { width: 80px; }#trial_form form .trial_submit { float: right; }#trial_wrapper #mag_cover {height: 100px;float: right;border: none;text-indent: none;}");

document.write("</style>");


function subs_toggle(start)
{
  var date = new Date();
  date.setTime(date.getTime()+(30*24*60*60*1000));
  var expires = "; expires="+date.toGMTString();

  var content = getNextSibling(start.parentNode);
  var header_text = getNextSibling(start);

  if(start.innerHTML == '+')
  {
    content.style.display = 'block';
    start.innerHTML = '-';
		header_text.style.display = 'none';
    document.cookie = "subs_widget=true"+expires+"; path=/";
  }
  else
  {
    content.style.display = 'none';
    start.innerHTML = '+';
		header_text.style.display = 'block';
    document.cookie = "subs_widget=false"+expires+"; path=/";
  }
}

function getNextSibling(n){	
  var x=n.nextSibling;
  while(x.nodeType!=1){
    x=x.nextSibling;
  }
  return x;
}

function readCookie(name) {
  var nameEQ = name + "=";
  var ca = document.cookie.split(';');
  for(var i=0;i < ca.length;i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
    if (c.indexOf(nameEQ) == 0) {
      return c.substring(nameEQ.length,c.length);
    }
  }
  return null;
}

var subs_widget = readCookie('subs_widget');
if(subs_widget == 'false')
{
  document.write('<style type=\"text/css\"> .subs_content { display: none; } </style>'+'<a class="subs_header_toggle" onClick="subs_toggle(this)">+</a>');
}
else
{
  document.write('<style type=\"text/css\"> .subs_header_text { display: none; } </style>'+'<a class="subs_header_toggle" onClick="subs_toggle(this)">-</a>');
}