﻿if (typeof AddClipsFlag == "undefined") { var AddClipsFlag = 'addclips'; var image_url = 'http://img.addclips.org/'; var link_url = 'http://www.addclips.org/'; if (typeof AddClipsBcolor == "undefined") { var AddClipsBcolor = '#78BE44'; } if (typeof AddClipsNcolor == "undefined") { var AddClipsNcolor = '#D1E9C0'; } if (typeof AddClipsTcolor == "undefined") { var AddClipsTcolor = '#666666'; } if (typeof AddClipsDefault == "undefined" || AddClipsDefault != "rss") { var AddClipsDefault = 'bookmark'; var AddClipsAlt = 'AddClips ブックマークに登録'; } else { var AddClipsAlt = 'AddClips RSSリーダーに登録する'; } if (typeof AddClipsId == "undefined") { var AddClipsId = ''; alert('AddClipsIdが設定されていないか、他の設定に間違いがあります。'); } if (typeof AddClipsUrl == "undefined") { var AddClipsUrl = location.href; } if (typeof AddClipsTitle == "undefined") { var AddClipsTitle = document.title; } if (typeof AddClipsRssUrl == "undefined") { var AddClipsRssUrl = AddClipsUrl; } if (typeof AddClipsMode == "undefined") { var AddClipsMode = "mouseover"; } if (typeof AddClipsTab == "undefined") { var AddClipsTab = "bookmark,rss"; } if (AddClipsFlag == "addclips" || typeof AddClipsAdjustment == "undefined") { var AddClipsAdjustment = 0; } if (AddClipsFlag == "addclips" || typeof AddClipsText == "undefined" || AddClipsType != "text") { var AddClipsTextFlag = 'off'; } if (AddClipsFlag == "addclips" || typeof AddClipsImage == "undefined" || AddClipsType != "image") { var AddClipsImageFlag = 'off'; } if (AddClipsFlag == "addclips" || typeof AddClipsCopyText == "undefined") { var AddClipsCopyText = "Powered by AddClips"; } if (AddClipsFlag == "addclips" || typeof AddClipsCopyUrl == "undefined") { var AddClipsCopyUrl = "http://www.addclips.org/"; var AddClipsCopyUrlFlag = 'off'; } if (AddClipsFlag == "addclips" || typeof AddClipsLogo == "undefined") { var AddClipsLogoFlag = 'off'; } if (AddClipsFlag == "addclips" || typeof AddClipsOrder == "undefined") var AddClipsOrder = "hatena,livedoor,delicious,twitter,buzzurl,yahoo,google,favorites,facebook,addclips"; if (AddClipsFlag == "addclips" || typeof AddClipsRssOrder == "undefined") var AddClipsRssOrder = "igoogle,livedoor,yahoo,netvibes,hatena,google,bloglines,fastladder,excite,addclips"; if (AddClipsType == "0" || AddClipsType == "6" || AddClipsType == "11") { var ButtonWidth = '141'; var ButtonHeight = '16' } else if (AddClipsType == "1" || AddClipsType == "7" || AddClipsType == "12") { var ButtonWidth = '141'; var ButtonHeight = '16' } else if (AddClipsType == "2" || AddClipsType == "8" || AddClipsType == "13") { var ButtonWidth = '96'; var ButtonHeight = '16' } else if (AddClipsType == "3" || AddClipsType == "9" || AddClipsType == "14") { var ButtonWidth = '64'; var ButtonHeight = '16' } else if (AddClipsType == "4" || AddClipsType == "16" || AddClipsType == "17") { var ButtonWidth = '18'; var ButtonHeight = '18' } else if (AddClipsType == "5" || AddClipsType == "10" || AddClipsType == "15") { var ButtonWidth = '80'; var ButtonHeight = '16' } else { var AddClipsType = '0'; var ButtonWidth = '141'; var ButtonHeight = '16' } if (typeof AddClipsVerticalAlign == "undefined") { var AddClipsVerticalAlign = 'middle'; } var AddClipsCandidate = new Array(); AddClipsCandidate['hatena'] = ['addclips_hatena', 'はてな', '14', '11', '8']; AddClipsCandidate['livedoor'] = ['addclips_livedoor', 'livedoor', '12', '12', '9']; AddClipsCandidate['delicious'] = ['addclips_delicious', 'del.icio.us', '10', '10', '11']; AddClipsCandidate['buzzurl'] = ['addclips_buzzurl', 'Buzzurl', '13', '10', '8']; AddClipsCandidate['yahoo'] = ['addclips_yahoo', 'ヤフー', '12', '12', '9']; AddClipsCandidate['twitter'] = ['addclips_twitter', 'Twitter', '12', '12', '9']; AddClipsCandidate['google'] = ['addclips_google', 'Google', '12', '12', '9']; AddClipsCandidate['favorites'] = ['addclips_favorites', 'お気に入り', '12', '12', '9']; AddClipsCandidate['facebook'] = ['addclips_facebook', 'facebook', '12', '12', '9']; AddClipsCandidate['addclips'] = ['addclips_addclips', 'もっとみる...', '12', '14', '9']; var AddClipsRssCandidate = new Array(); AddClipsRssCandidate['igoogle'] = ['addclips_igoogle', 'iGoogle', '14', '14', '7']; AddClipsRssCandidate['livedoor'] = ['addclips_livedoor', 'livedoor', '14', '14', '7']; AddClipsRssCandidate['yahoo'] = ['addclips_yahoo', 'My Yahoo!', '16', '9', '5']; AddClipsRssCandidate['netvibes'] = ['addclips_netvibes', 'netvibes', '14', '14', '7']; AddClipsRssCandidate['hatena'] = ['addclips_yahoo', 'はてな', '14', '14', '7']; AddClipsRssCandidate['google'] = ['addclips_google', 'Google', '14', '14', '7']; AddClipsRssCandidate['bloglines'] = ['addclips_bloglines', 'Bloglines', '14', '14', '7']; AddClipsRssCandidate['fastladder'] = ['addclips_fastladder', 'Fastladder', '14', '14', '7']; AddClipsRssCandidate['excite'] = ['addclips_excite', 'excite', '14', '13', '7']; AddClipsRssCandidate['addclips'] = ['addclips_addclips', 'もっとみる...', '12', '14', '9']; function AddClipsLoad() { AddClipsUrl = encodeURIComponent(AddClipsUrl); AddClipsRssUrl = encodeURIComponent(AddClipsRssUrl); AddClipsTitle = encodeURIComponent(AddClipsTitle); AddClipsTitle = AddClipsTitle.replace(/'/g, '\\\''); if (AddClipsMode == "popup") { var button_image = '<a href="#" onclick=\"return AddClipsGo(\'\',\'' + AddClipsDefault + '\')\">'; } else { var button_image = '<a href="#" onmouseover=\"return AddClipsOnMouseOver(this, event, \'' + AddClipsUrl + '\', \'' + AddClipsTitle + '\', \'' + AddClipsRssUrl + '\',\'' + AddClipsDefault + '\',\'' + AddClipsId + '\')\" onmouseout=\"AddClipsOnMouseOut()\" onclick=\"return AddClipsGo(\'\',\'' + AddClipsDefault + '\')\">'; } if (AddClipsTextFlag != "off") { button_image += '<img height="1" width="1" border="0">' + AddClipsText; } else if (AddClipsImageFlag != "off") { button_image += '<img src="' + AddClipsImage + '" border="0" style="border: none; padding: 0px; vertical-align:' + AddClipsVerticalAlign + ';" alt="AddClips ブックマークに登録" />'; } else if (AddClipsTextFlag == "off") { button_image += '<img src="' + image_url + 'addclips_' + AddClipsType + '.gif" width="' + ButtonWidth + '" height="' + ButtonHeight + '" border="0" style="border: none; padding: 0px; vertical-align:' + AddClipsVerticalAlign + ';" alt="AddClips ブックマークに登録" />'; } button_image += '</a>'; AddClipsUrl = decodeURIComponent(AddClipsUrl); AddClipsRssUrl = decodeURIComponent(AddClipsRssUrl); document.write(button_image); } function AddClipsGetId(id) { return document.getElementById(id); } function AddClipsClearCloseWin() { if (typeof addclips_set_timer != "undefined") { clearTimeout(addclips_set_timer); } } function AddClipsOnMouseOver(element, addclips_event, url, title, rssurl, tab, id) { AddClipsClearCloseWin(); AddClipsUrl = url; AddClipsTitle = title; AddClipsRssUrl = rssurl; AddClipsDefault = tab; AddClipsId = id; if (AddClipsFlag == "addclips") { AddClipsAdjustment = 0; } if (AddClipsFlag == "addclips") { AddClipsGetId("addclips_ad_line").innerHTML = AddClipsAd(); } AddClipsTabChange(AddClipsDefault); var AddClipsButtom = element.getElementsByTagName('img'); if (AddClipsButtom) { element = AddClipsButtom[0]; } var AddClipsDropDownBody = AddClipsGetId('addclips_dropdown'); AddClipsDropDownBody.style.display = 'block'; var AddClipsSet = AddClipsPosition(element); addclips_view_width = AddClipsSet[0]; addclips_view_height = AddClipsSet[1]; var at12t = AddClipsSize(); var at12s = AddClipsScroll(); if (addclips_view_width - at12s[0] + AddClipsDropDownBody.clientWidth + 024 > at12t[0]) { addclips_view_width = addclips_view_width - 0157; } if (addclips_view_height - at12s[1] + AddClipsDropDownBody.clientHeight + element.clientHeight + 024 > at12t[1]) { addclips_view_height = addclips_view_height - 195 - AddClipsAdjustment; } AddClipsDropDownBody.style.left = addclips_view_width + 'px'; AddClipsDropDownBody.style.top = (addclips_view_height + element.clientHeight) + 'px'; if (AddClipsFlag == "addclips") { AddClipsAdjustment = 0; } return false; } function AddClipsOnMouseOut(time) { if (typeof time == "undefined") { time = "0155"; } AddClipsCloseWinWait(time); } function AddClipsCloseWinWait(time) { addclips_set_timer = setTimeout("addclips_closewin()", time); } function addclips_closewin() { var AddClipsDropDownBody = AddClipsGetId('addclips_dropdown'); AddClipsDropDownBody.style.display = 'none'; return false; } function AddClipsGo(bookmark_site, type) { addclips_closewin(); if (typeof type == "undefined") { type = AddClipsDefault; } if (bookmark_site == 'favorites') { AddClipsUrl = decodeURIComponent(AddClipsUrl); AddClipsTitle = decodeURIComponent(AddClipsTitle); if (document.all) { window.external.AddFavorite(AddClipsUrl, AddClipsTitle); } else if (navigator.userAgent.indexOf("Firefox") != -1) { window.sidebar.addPanel(AddClipsTitle, AddClipsUrl, ''); } else { window.alert('ブラウザへのお気に入り追加は、Opera/Safari等には対応しておりません。ご自身のブラウザからお気に入りへ追加下さい。'); } return false; } window.open(AddClipsAddUrl(bookmark_site, type), 'addclips', 'scrollbars=yes,menubar=no,width=600,height=530,resizable=yes,toolbar=no,location=no,status=no'); return false; } function AddClipsAddUrl(bookmark_site, type) { if (bookmark_site == undefined) { bookmark_site = ""; } if (type == undefined) { type = ""; } if (type == "bookmark") { url = AddClipsUrl; } if (type == "rss") { url = AddClipsRssUrl; } var addclips_click_url = link_url + 'addclips.php?type=' + type + '&id=' + AddClipsId + '&direct=' + bookmark_site + '&url=' + url + '&title=' + AddClipsTitle; if (AddClipsLogoFlag != "off") { addclips_click_url += '&logo=' + encodeURIComponent(AddClipsLogo); } if (AddClipsCopyUrlFlag != "off") { addclips_click_url += '&logo_url=' + encodeURIComponent(AddClipsCopyUrl); } if (AddClipsFlag == "premium") { addclips_click_url += '&ncolor=' + AddClipsNcolor.substring(1, 7) + '&bcolor=' + AddClipsBcolor.substring(1, 7); } else { addclips_click_url += '&plan=addclips'; } return addclips_click_url } function AddClipsPosition(AddClipsElement) { var addclips_top = 0, addclips_left = 0; do { addclips_top += AddClipsElement.offsetTop || 0; addclips_left += AddClipsElement.offsetLeft || 0; AddClipsElement = AddClipsElement.offsetParent; } while (AddClipsElement); return [addclips_left, addclips_top]; } function AddClipsSize() { var addclips_width = 0; var addclips_height = 0; if (typeof (window.innerWidth) == 'number') { addclips_width = window.innerWidth; addclips_height = window.innerHeight; } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) { addclips_width = document.documentElement.clientWidth; addclips_height = document.documentElement.clientHeight; } else if (document.body && (document.body.clientWidth || document.body.clientHeight)) { addclips_width = document.body.clientWidth; addclips_height = document.body.clientHeight; } return [addclips_width, addclips_height]; } function AddClipsScroll() { var addclips_s_width = 0; var addclips_s_height = 0; if (typeof (window.pageYOffset) == 'number') { addclips_s_height = window.pageYOffset; addclips_s_width = window.pageXOffset; } else if (document.body && (document.body.scrollLeft || document.body.scrollTop)) { addclips_s_height = document.body.scrollTop; addclips_s_width = document.body.scrollLeft; } else if (document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)) { addclips_s_height = document.documentElement.scrollTop; addclips_s_width = document.documentElement.scrollLeft; } return [addclips_s_width, addclips_s_height]; } function AddClipsLoad_css() { addclips_css = document.createElement('link'); addclips_css.rel = 'stylesheet'; addclips_css.type = 'text/css'; addclips_css.href = link_url + 'css/v2/addclips.css'; addclips_css.media = 'all'; document.lastChild.firstChild.appendChild(addclips_css); } function AddClipsAd() { in_uid = '297'; in_templateid = '14041'; in_charset = 'UTF-8'; in_group = ''; in_matchurl = AddClipsUrl; in_HBgColor = AddClipsNcolor.substring(1, 7); in_HBorderColor = AddClipsNcolor.substring(1, 7); in_HTitleColor = AddClipsTcolor.substring(1, 7); in_HTextColor = AddClipsTcolor.substring(1, 7); in_HUrlColor = AddClipsTcolor.substring(1, 7); frame_width = '210'; frame_height = '38'; in_cook = 0; if (window.navigator.cookieEnabled) { in_cook = 0; } else { in_cook = 1; } in_pref = ""; if (document.referrer.length != 0) { in_pref = escape(document.referrer); } else { in_pref = ""; } in_tmpg = '0'; ad_type = Math.floor(Math.random() * 5) + 1; if (ad_type == 1) { AddClipsAdjustment = AddClipsAdjustment + 42; addclips_ad_line_ad = '<ifr' + 'ame name="maad" src="http://send.microad.jp/mad.cgi?blogid=' + in_uid + '&templateid=' + in_templateid + '&charset=' + in_charset + '&group=' + in_group + '&type=0&HBgColor=' + in_HBgColor + '&HBorderColor=' + in_HBorderColor + '&HTitleColor=' + in_HTitleColor + '&HTextColor=' + in_HTextColor + '&HUrlColor=' + in_HUrlColor + '&matchurl=' + in_matchurl + '&in_cook=' + in_cook + '&in_pref=' + in_pref + '&in_tmpg=' + in_tmpg + '" style="background-color:' + AddClipsNcolor + ';width:' + frame_width + 'px;" height=' + frame_height + '"' + ' scrolling="no"' + ' frameborder="no"' + ' marginwidth="0"' + ' marginheight="0"' + ' allowTransparency="true"' + ' ></ifr' + 'ame>'; } else if (ad_type == 2) { AddClipsAdjustment = AddClipsAdjustment + 42; addclips_ad_line_ad = '<a href="http://www.lancers.jp/?addclips_text_ad" target="_blank" style="background:' + AddClipsNcolor + ';color:' + AddClipsTcolor + ';font-size:10px; width:210px; height:38px; text-align:left;"><u style="background:' + AddClipsNcolor + ';"> [PR] 仕事売買サイト Lancers</u><div style="margin:5px 0 0 0;background:' + AddClipsNcolor + ';">個人と法人が仕事を依頼したり受けたりしてお金を稼げるサイト！</div></a>'; } else if (ad_type == 5) { AddClipsAdjustment = AddClipsAdjustment + 42; addclips_ad_line_ad = '<a href="http://www.lancers.jp/help/logo?addclips_banner_' + ad_type + '" style="background:' + AddClipsNcolor + '" target="_blank"><img src="' + link_url + '/img/ad/lancers' + ad_type + '.gif" border="0"></a>'; } else { AddClipsAdjustment = AddClipsAdjustment + 42; addclips_ad_line_ad = '<a href="http://www.lancers.jp/?addclips_banner_' + ad_type + '" style="background:' + AddClipsNcolor + '" target="_blank"><img src="' + link_url + '/img/ad/lancers' + ad_type + '.gif" border="0"></a>'; } return addclips_ad_line_ad; } function AddClipsAdCount() { var mad_client_id = '4028'; var mad_group_id = ''; var mad_host = "http://track.send.microad.jp"; if (document.location.protocol == "https:") { mad_host = "https://send.microad.jp"; } var encode_url = escape(document.referrer); var mad_query = "clientid=" + mad_client_id + "&group=" + mad_group_id + "&prereferrer=" + encode_url; var mad_url = mad_host + "/track.cgi?" + mad_query; var mad_target = new Image(); mad_target.src = mad_url; } function AddClipsTabMenu(id) { addclips_tab_html = ''; var AddClipsTabElement = new Array(); AddClipsTabElement['bookmark'] = "ブックマーク"; AddClipsTabElement['rss'] = "RSS"; AddClipsTabElement['mail'] = "メール"; AddClipsTabElement['info'] = "情報"; for (i = 0; i < addclips_hash_length['tab']; i++) { if (AddClipsTabHash[i] != id) { AddClipsTabElement[AddClipsTabHash[i]] = '<a href="#" onclick=\"return AddClipsTabChange(\'' + AddClipsTabHash[i] + '\')\" id="addclips_' + AddClipsTabHash[i] + '_tab_link" style="color:' + AddClipsTcolor + ';">' + AddClipsTabElement[AddClipsTabHash[i]] + '</a>'; } addclips_tab_html += '<span id="addclips_' + AddClipsTabHash[i] + '_tab">' + AddClipsTabElement[AddClipsTabHash[i]] + '</span>'; } return addclips_tab_html } function AddClipsBody(id) { var body = ""; if (id == 'bookmark') { body += '<table  width="100%"  border="0" cellspacing="0" cellpadding="0"><tr>'; for (var i = 0; i < addclips_hash_length['bookmark']; i++) { if (AddClipsOrderHash[i] in AddClipsCandidate) { addclips_this_name = AddClipsOrderHash[i]; addclips_candidate_id = AddClipsCandidate[addclips_this_name][0]; addclips_candidate_name = AddClipsCandidate[addclips_this_name][1]; addclips_candidate_width = AddClipsCandidate[addclips_this_name][2]; addclips_candidate_height = AddClipsCandidate[addclips_this_name][3]; addclips_candidate_right = AddClipsCandidate[addclips_this_name][4]; if (i % 2 != 1) { body += '<tr>'; td_id = "addclips_site_left"; } else { td_id = "addclips_site_right"; } body += '<td width="115px" height="20" id="' + td_id + '"><a href="/" onClick="return AddClipsGo(\'' + addclips_this_name + '\',\'' + id + '\');" id="addclips_no_decoration"><img src=\"' + image_url + addclips_this_name + '_ico_mini.gif\" width="' + addclips_candidate_width + '" height="' + addclips_candidate_height + '" style="vertical-align:middle;margin-right:' + addclips_candidate_right + 'px;"><u>' + addclips_candidate_name + '</u></a></td>'; if (i % 2 != 0) body += '</tr>'; } } } else if (id == "rss") { body += '<table  width="100%"  border="0" cellspacing="0" cellpadding="0"><tr>'; for (var i = 0; i < addclips_hash_length['rss']; i++) { if (AddClipsRssOrderHash[i] in AddClipsRssCandidate) { addclips_this_name = AddClipsRssOrderHash[i]; addclips_candidate_id = AddClipsRssCandidate[addclips_this_name][0]; addclips_candidate_name = AddClipsRssCandidate[addclips_this_name][1]; addclips_candidate_width = AddClipsRssCandidate[addclips_this_name][2]; addclips_candidate_height = AddClipsRssCandidate[addclips_this_name][3]; addclips_candidate_right = AddClipsRssCandidate[addclips_this_name][4]; if (i % 2 != 1) { body += '<tr>'; td_id = "addclips_site_left"; } else { td_id = "addclips_site_right"; } body += '<td width="115px"  height="20" id="' + td_id + '"><a href="#" onClick="return AddClipsGo(\'' + addclips_this_name + '\',\'' + id + '\');" id="addclips_no_decoration"><img src=\"' + image_url + 'rss/' + addclips_this_name + '_ico_mini.gif\" width="' + addclips_candidate_width + '" height="' + addclips_candidate_height + '" style="vertical-align:middle; margin-right:' + addclips_candidate_right + 'px;"><u>' + addclips_candidate_name + '</u></a></td>'; if (i % 2 != 0) body += '</tr>'; } } } else if (id == "mail") { } else if (id == "info") { } else { } return body } function AddClipsTabChange(id) { AddClipsGetId("addclips_panel_left").innerHTML = AddClipsTabMenu(id); AddClipsGetId("addclips_body").innerHTML = AddClipsBody(id); for (i = 0; i < addclips_hash_length['tab']; i++) { if (AddClipsTabHash[i] == id) { var atc = document.getElementById('addclips_' + AddClipsTabHash[i] + '_tab').style; atc.backgroundColor = "#ffffff"; atc.color = "#000000"; } else { var atc = document.getElementById('addclips_' + AddClipsTabHash[i] + '_tab').style; atc.backgroundColor = AddClipsNcolor; atc.color = AddClipsTcolor; var atl = document.getElementById('addclips_' + AddClipsTabHash[i] + '_tab_link').style; atl.backgroundColor = AddClipsNcolor; atl.color = AddClipsTcolor; } } return false } function AddClipsInnerHtmlLoad() { AddClipsLoad_css(); AddClipsTabHash = AddClipsTab.replace(/\s/g, '').split(','); AddClipsOrderHash = AddClipsOrder.replace(/\s/g, '').split(','); AddClipsRssOrderHash = AddClipsRssOrder.replace(/\s/g, '').split(','); addclips_hash_length = { 'tab': AddClipsTabHash.length, 'bookmark': AddClipsOrderHash.length, 'rss': AddClipsRssOrderHash.length }; var addclips_inner_html = '<div id="addclips_dropdown" onmouseover="AddClipsClearCloseWin()" onmouseout="AddClipsOnMouseOut()" style="z-index: 500; position: absolute; display: none">'; addclips_inner_html += '<table id="addclips_inner_body" width="100%"  border="0" cellspacing="0" cellpadding="0" style="border:2px solid ' + AddClipsBcolor + '"><tr bgcolor="' + AddClipsBcolor + '"><td style="background:' + AddClipsBcolor + ';" width="230px" height="2" colspan="2"></td></tr>'; addclips_inner_html += '<tr><td id="addclips_head_line" align="right" height="10" colspan="2">'; addclips_inner_html += '<a href="javascript:AddClipsOnMouseOut(0005)" onclick="AddClipsOnMouseOut(0005)" style="padding:0 2px 0 4px;color:' + AddClipsTcolor + ';background-color:' + AddClipsNcolor + ';font-size:10px;width:7px">Ｘ</a>'; addclips_inner_html += '</td></tr>'; addclips_inner_html += '<tr valign="middle"><td colspan="2" height="10" id="addclips_panel_left">'; addclips_inner_html += '</td></tr>'; addclips_inner_html += '</tr><tr bgcolor="#ffffff"><td height="15" colspan="2" style="border:0";></td></tr><tr><td id="addclips_body">'; addclips_inner_html += '</td></tr><tr bgcolor="#ffffff"><td height="15" colspan="2"></td></tr>'; if (AddClipsFlag == "addclips") { addclips_inner_html += '<tr><td height="5" colspan="2" style="background:' + AddClipsNcolor + '"></td></tr>'; addclips_inner_html += '<tr><td id="addclips_ad_line" align="center" height="1" colspan="2">'; addclips_inner_html += '</td></tr>'; addclips_inner_html += '<tr><td height="1" colspan="2" style="background:' + AddClipsNcolor + '"></td></tr>'; AddClipsAdCount(); } addclips_inner_html += '<tr><td id="addclips_credit_line" align="right" height="4" colspan="2">'; addclips_inner_html += '<a href="' + AddClipsCopyUrl + '" style="background:' + AddClipsNcolor + ';color:' + AddClipsTcolor + ';font-size:10px;">' + AddClipsCopyText + '</a>'; addclips_inner_html += '</td></tr>'; addclips_inner_html += '<tr><td height="1" colspan="2"></td></tr></table></div>'; addclips_new_div = document.createElement('div'); addclips_new_div.innerHTML = addclips_inner_html; document.body.insertBefore(addclips_new_div, document.body.firstChild); var head = document.getElementById('addclips_head_line').style; head.backgroundColor = AddClipsBcolor; head.color = AddClipsTcolor; head.border = 0; head.margin = 0; if (AddClipsFlag == "addclips") { var abl = document.getElementById('addclips_ad_line').style; abl.backgroundColor = AddClipsNcolor; abl.color = AddClipsTcolor; abl.border = 0; abl.margin = 0; } var abl = document.getElementById('addclips_credit_line').style; abl.backgroundColor = AddClipsNcolor; abl.color = AddClipsTcolor; abl.padding = "0 10px 0 0"; var atp = document.getElementById('addclips_panel_left').style; atp.backgroundColor = AddClipsBcolor; atp.color = "#000000"; atp.fontSize = "11px"; } AddClipsInnerHtmlLoad(); } AddClipsLoad();
