//
// $Id: newsgraphy.js,v 1.7 2008/11/15 12:24:08 toshi-f Exp $
//
// ${COPYRIGHT}
//

var URL = 'http://www.newsgraphy.jp/gadget/newsgraphy.php';
var width = 180;
var height = 700;

if (typeof window['newsgraphy1'] != 'undefined') {
    URL = URL + '?newsgraphy1=' + newsgraphy1;
}

document.write("<!--[if IE 6]>\n");
document.write("<iframe src=\"" + URL + "\" frameborder=\"no\" scrolling=\"yes\" marginwidth=\"0\" marginheight=\"0\" width=\"" + width + "\" height=\"" + height +"\" allowtransparency=\"true\">\n");
document.write("</iframe>\n");
document.write("<![endif]-->\n");

document.write("<!--[if gt IE 6]>\n");
document.write("<iframe src=\"" + URL + "\" frameborder=\"no\" scrolling=\"yes\" marginwidth=\"0\" marginheight=\"0\" width=\"" + width + "\" height=\"" + height +"\" allowtransparency=\"true\">\n");
document.write("</iframe>\n");
document.write("<![endif]-->\n");

document.write("<!--[if !IE]> <-->\n");
document.write("<object data=\"" + URL + "\" type=\"text/html\" border=\"0\" style=\"margin: 0px; padding: 0px; width: " + width + "px; height: " + height +"px;\">\n");
document.write("</object>\n");
document.write("<!--> <![endif]-->\n");

