main = new Object(tags.body); with(main) { backgroundColor = "white"; backgroundImage = "../images/bg_main.gif"; backgroundRepeat = "repeat-y"; paddingLeft = "50px"; } header1 = new Object(tags.h1); with(header1) { margins("0px"); paddings("0px"); borderWidths("0px"); } tags.ul.listStyleType = "circle"; sec1 = new Object(classes.section.div); sec2 = new Object(classes.section2.div); guide = new Object(classes.guide.div); sec1.backgroundColor = "#3399cc"; sec2.backgroundColor = "#ddeeff"; guide.backgroundColor = "#ff6699"; sec1table = new Object(contextual(sec1, tags.table)); sec2table = new Object(contextual(sec2, tags.table)); gdtable = new Object(contextual(guide, tags.table)); sec1table.backgroundColor = sec2table.backgroundColor = gdtable.backgroundColor = "white"; sections = new Array(sec1, sec2, guide); for (i in sections) { with(sections[i]) { width = "640px"; paddings("1px"); borderWidths("1px"); borderStyle = "solid"; borderColor = "white"; } } classes.m_header.all.backgroundColor = "#99ccff"; classes.s_header.all.backgroundColor = "#ddeeff"; classes.g_header.all.backgroundColor = "#ffcccc"; classes.hr.all.marginLeft = "4px"; classes.hr.all.marginTop = "2px"; classes.hr.all.marginBottom = "2px"; yakuin = new Object(classes.yakuin.all); yakuin.backgroundColor = "#eeeeee"; shokyu = new Object(classes.shokyu.all); chukyu = new Object(classes.chukyu.all); joukyu = new Object(classes.joukyu.all); kiso = new Object(classes.kiso.all); yudan = new Object(classes.yudan.all); // member = new Object(classes.member.all); nyumon = new Object(classes.nyumon.all); kids = new Object(classes.kids.all); if (shokyu) { level = new Array(shokyu, chukyu, joukyu, kiso, yudan, nyumon, kids); lvColor = new Array("#ffffcc","#ccffcc","#ccffff","#ffcc99","#ffccff","#ccccff","#ff6699"); for (i in level) { level[i].backgroundColor = lvColor[i]; } } tags.address.fontStyle = "normal"; classes.home.all.marginLeft = "230px"; classes.match.all.color = "red"; classes.n_head.th.color = "#ff9900"; classes.weeks.p.marginLeft = "180px"; classes.newest.h2.marginLeft = "200px"; classes.m_title.th.color = "white"; classes.m_title.th.backgroundColor = "#3399cc"; // 手合情報 classes.etc.div.marginTop = "12px"; // 以下は棋士紹介専用 osaka = new Object(classes.osaka.all); tokyo = new Object(classes.tokyo.all); promo = new Object(classes.promotion.all); profile = new Array(osaka, tokyo, promo); for (i in profile) { with(profile[i]) { borderWidths("1px"); borderStyle = "3d"; borderColor = "#99cc99"; width = "500px"; marginBottom = "5px"; paddings("0px"); } } promo.borderColor = "#99ccff"; proH2 = new Object(classes.profile.h2); with(proH2) { width = "490px"; borderWidths("1px"); borderStyle = "solid"; borderColor = "white"; backgroundColor = "#669999"; color = "white"; paddings("3px"); margins("0px"); fontWeight = "bold"; } contextual(promo, tags.h2).backgroundColor = "#6699ff"; contextual(osaka, tags.p).marginBottom = contextual(tokyo, tags.p).marginBottom = contextual(osaka, tags.p).marginLeft = contextual(tokyo, tags.p).marginLeft = "5px"; // おみくじ attention = new Object(classes.attention.div); with(attention) { marginBottom = "8px"; paddings("8px"); width = "510px"; borderWidths("2px"); borderColor = "#ff6666"; borderStyle = "solid"; } contextual(attention, tags.strong).color = "#ff9999"; board = new Object(classes.board.div); with(board) { marginBottom = "8px"; width = "500px"; textAlign = "center"; } contextual(board, tags.p).color = "red"; classes.item.all.color = "#ff9999"; classes.result.all.backgroundColor = "#ff6666"; classes.result.all.color = "white"; classes.luck.big.fontSize = "2em"; classes.stars.all.color = "gold"; secf = new Object(classes.section_f.div); contextual(secf, tags.table).backgroundColor = "white"; with(secf) { backgroundColor = "#ff6666"; width = "518px"; marginBottom = "5px"; paddings("2px"); borderWidths("1px"); borderStyle = "solid"; borderColor = "white"; } classes.closed.all.textAlign = "center";