//
// $Id: graphylogin.js,v 1.9 2009/05/06 08:56:55 toshi-f Exp $
//
// Copyright (C) 2007-2009 Omnisci Software, Inc. All Rights Reserved.
//

var URL = 'http://www.graphy.ne.jp/gadget/graphylogin.php';
var width = 180;
var height = 150;

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

document.write("<!--[if IE 6]>\n");
document.write("<iframe src=\"" + URL + "\" frameborder=\"no\" scrolling=\"no\" 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=\"no\" 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");
