$(document).ready(function() {
$("#Content a[@target='_blank'], #Footer a[@target='_blank']").each(function() {
var blankLink = $(this).html();
if ( blankLink.indexOf("src=") < 0 ) {
$(this).append('
');
}
});
$("#Content .Section p + *,#Content .Section ul + *,#Content .Section ol + *,#Content .Section dl + *")
.css("margin-top", "30px");
$("ul.ArrowSingle li + li,#Content .Section ol li + li,#Content .Section ul li + li")
.css("margin-top", "10px");
$("#Content .Section .PageNav li + li")
.css("margin-top", "0px");
$("#Content .Section .PageNav + table")
.css("margin-top", "10px");
$("#Content .Section ol li + li p,#Content .Section ul li + li p")
.css("padding-top", "10px");
$("#Content .Section table.Normal tbody ul li + li")
.css("margin-top", "5px");
$("#LocalNav ul li.Current > a, #LocalNav ul li.Current > span")
.css("background-color", "#ccdaeb")
.css("background-image", "url(/common/images/ico_nav_current.gif)")
.css("background-position", "20px .6em")
$("#LocalNav ul ul li.Current > a, #LocalNav ul ul li.Current > span")
.css("background-color", "#ccdaeb")
.css("background-image", "url(/common/images/ico_nav_current.gif)")
.css("background-position", "29px .6em");
$("#LocalNav ul ul ul li.Current > a,#LocalNav ul ul ul li.Current > span")
.css("background-color", "#ccdaeb")
.css("background-image", "url(/common/images/ico_nav_current.gif)")
.css("background-position", "38px .6em");
$("#Products .Description dl dt + dt").css("margin-top", "12px");
$("#Content .ReportLists .ReportList").css("margin-top", "10px");
updateCheck();
});
function updateCheck() {
$(".ReportList dt").each(function() {
var date = $(this).html();
date = date.substr(0,4) + date.substr(5,2) + date.substr(8,4);
var from = 20120201
var to = 20120206
if ( date >= 20120201 ) {
if ( $(this).attr("class") != "NoIcon" ) {
$(this).append('
');
$(this).addClass("New");
}
}
$(this).css("width", "auto");
var wide = this.offsetWidth;
$(this).css("width", wide + "px");
$(this).next().css("padding-left", wide + "px");
var wide_new = Number(wide) + 1;
$("dt.New").css("width", wide_new + "px");
$("dt.New").next().css("padding-left", wide_new + "px");
});
}