Create New Item
×
Item Type
File
Folder
Item Name
File Manager
/
wp-content
/
themes
/
flexsqueeze151
/
js
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
jQuery(document).ready(function() { Shadowbox.init(); var stickyTab; if (!jQuery.cookie("stickyTab")) jQuery.cookie("stickyTab", 0); jQuery("#tabs").tabs( { activate: function( event, ui ) { jQuery.cookie( "stickyTab", jQuery("#tabs").tabs("option","active") ); } } ); jQuery("#tabs").tabs( 'option', 'active', jQuery.cookie( "stickyTab" ) ); jQuery("#tabs").css("display", "block"); function validate() { var filename = document.getElementById("importfile").value; var ext = getExt(filename); if(ext == "csv") return true; alert("Please upload CSV files only."); return false; } function getExt(filename) { var dot_pos = filename.lastIndexOf("."); if(dot_pos == -1) return ""; return filename.substr(dot_pos+1).toLowerCase(); } } ); jQuery('.faviconimg').click( function() { var currentId = jQuery(this).attr('id'); var fullurl = document.getElementById("flex_favicon_url").value; document.getElementById("flex_favicon").value = fullurl + currentId; }); function copyIt() { var x = document.getElementById("themewide").value; var y = document.getElementById("flex_header_backgroundcolor").value; jQuery('.color').each(function() { if( jQuery(this).val() == y ) { jQuery(this).val(x); } }); document.flexibilityoptions.submit(); } function designchange() { var x = document.getElementById("design").value; if(x=="d1") { document.flexibilityoptions.flex_header_trans.selectedIndex = 0; document.flexibilityoptions.flex_feat_trans.selectedIndex = 0; document.flexibilityoptions.flex_footer_trans.selectedIndex = 1; document.flexibilityoptions.flex_content_trans.selectedIndex = 0; document.flexibilityoptions.flex_header_fw.selectedIndex = 1; document.flexibilityoptions.flex_header_fwbg.selectedIndex = 4; document.flexibilityoptions.flex_header_bg.selectedIndex = 0; document.flexibilityoptions.flex_blog_bgimage.selectedIndex = 0; document.flexibilityoptions.flex_blog_gradient.selectedIndex = 0; document.flexibilityoptions.flex_nav_fw.selectedIndex = 1; document.flexibilityoptions.flex_nav_position.selectedIndex = 0; document.flexibilityoptions.flex_nav_style.selectedIndex = 3; //"tabs", "square tabs", "square tabs light", "reflect", "simple", "aqua", "indent", "arrowdark", "arrowlight", "cnn", "blackbar", "button", "basic", "transparent" document.getElementById("flex_blog_margin").value = 0; document.getElementById("flex_blog_padding").value = 15; document.getElementById("flex_blog_borderwidth").value = 3; document.flexibilityoptions.flex_blog_mainbrdr.selectedIndex = 1; //no, yes document.flexibilityoptions.flex_blog_headbrdr.selectedIndex = 0; //no change, all, none, top, bottom document.getElementById("flex_mar_head").value = 10; document.flexibilityoptions.flex_blog_navbrdr.selectedIndex = 4; //no change, all, none, top, bottom document.getElementById("flex_mar_nav").value = 0; document.flexibilityoptions.flex_blog_featbrdr.selectedIndex = 1; //no change, all, none, top, bottom document.getElementById("flex_mar_feat").value = 10; document.getElementById("flex_mar_feattop").value = 0; document.flexibilityoptions.flex_blog_contbrdr.selectedIndex = 1; //no change, all, none, top, bottom document.getElementById("flex_mar_cont").value = 0; document.flexibilityoptions.flex_blog_footbrdr.selectedIndex = 0; //no change, all, none, top, bottom //corners document.getElementById("flex_c_outerradius").value = 10; document.getElementById("flex_c_innerradius").value = 7; document.flexibilityoptions.flex_c_header.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_nav.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_feat.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_cont.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_foot.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_wid.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_post.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_comment.selectedIndex = 3; //none, top, bottom, all } else if (x=="d2") { document.flexibilityoptions.flex_header_trans.selectedIndex = 1; document.flexibilityoptions.flex_feat_trans.selectedIndex = 1; document.flexibilityoptions.flex_footer_trans.selectedIndex = 1; document.flexibilityoptions.flex_content_trans.selectedIndex = 0; document.flexibilityoptions.flex_header_fw.selectedIndex = 0; document.flexibilityoptions.flex_header_fwbg.selectedIndex = 6; document.flexibilityoptions.flex_header_bg.selectedIndex = 0; document.flexibilityoptions.flex_blog_bgimage.selectedIndex = 12; document.flexibilityoptions.flex_blog_gradient.selectedIndex = 0; document.flexibilityoptions.flex_nav_fw.selectedIndex = 0; document.flexibilityoptions.flex_nav_position.selectedIndex = 1; document.flexibilityoptions.flex_nav_style.selectedIndex = 0; //"tabs", "square tabs", "square tabs light", "reflect", "simple", "aqua", "indent", "arrowdark", "arrowlight", "cnn", "blackbar", "button", "basic", "transparent" document.getElementById("flex_blog_margin").value = 0; document.getElementById("flex_blog_padding").value = 8; document.getElementById("flex_blog_borderwidth").value = 2; document.flexibilityoptions.flex_blog_mainbrdr.selectedIndex = 1; //no, yes document.flexibilityoptions.flex_blog_headbrdr.selectedIndex = 2; //no change, all, none, top, bottom document.getElementById("flex_mar_head").value = 0; document.flexibilityoptions.flex_blog_navbrdr.selectedIndex = 1; //no change, all, none, top, bottom document.getElementById("flex_mar_nav").value = 10; document.flexibilityoptions.flex_blog_featbrdr.selectedIndex = 0; //no change, all, none, top, bottom document.getElementById("flex_mar_feat").value = 10; document.getElementById("flex_mar_feattop").value = 0; document.flexibilityoptions.flex_blog_contbrdr.selectedIndex = 1; //no change, all, none, top, bottom document.getElementById("flex_mar_cont").value = 0; document.flexibilityoptions.flex_blog_footbrdr.selectedIndex = 0; //no change, all, none, top, bottom //corners document.getElementById("flex_c_outerradius").value = 10; document.getElementById("flex_c_innerradius").value = 7; document.flexibilityoptions.flex_c_header.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_nav.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_feat.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_cont.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_foot.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_wid.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_post.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_comment.selectedIndex = 3; //none, top, bottom, all } else if (x=="d3") { document.flexibilityoptions.flex_header_trans.selectedIndex = 1; document.flexibilityoptions.flex_feat_trans.selectedIndex = 0; document.flexibilityoptions.flex_footer_trans.selectedIndex = 0; document.flexibilityoptions.flex_content_trans.selectedIndex = 0; document.flexibilityoptions.flex_header_fw.selectedIndex = 0; document.flexibilityoptions.flex_header_fwbg.selectedIndex = 0; document.flexibilityoptions.flex_header_bg.selectedIndex = 0; document.flexibilityoptions.flex_blog_bgimage.selectedIndex = 0; document.flexibilityoptions.flex_blog_gradient.selectedIndex = 0; document.flexibilityoptions.flex_nav_fw.selectedIndex = 0; document.flexibilityoptions.flex_nav_position.selectedIndex = 2; document.flexibilityoptions.flex_nav_style.selectedIndex = 13; //"tabs", "square tabs", "square tabs light", "reflect", "simple", "aqua", "indent", "arrowdark", "arrowlight", "cnn", "blackbar", "button", "basic", "transparent" document.getElementById("flex_blog_margin").value = 0; document.getElementById("flex_blog_padding").value = 8; document.getElementById("flex_blog_borderwidth").value = 2; document.flexibilityoptions.flex_blog_mainbrdr.selectedIndex = 1; //no, yes document.flexibilityoptions.flex_blog_headbrdr.selectedIndex = 2; //no change, all, none, top, bottom document.getElementById("flex_mar_head").value = 0; document.flexibilityoptions.flex_blog_navbrdr.selectedIndex = 2; //no change, all, none, top, bottom document.getElementById("flex_mar_nav").value = 0; document.flexibilityoptions.flex_blog_featbrdr.selectedIndex = 1; //no change, all, none, top, bottom document.getElementById("flex_mar_feat").value = 0; document.getElementById("flex_mar_feattop").value = 0; document.flexibilityoptions.flex_blog_contbrdr.selectedIndex = 7; //no change, all, none, top, bottom document.getElementById("flex_mar_cont").value = 0; document.flexibilityoptions.flex_blog_footbrdr.selectedIndex = 8; //no change, all, none, top, bottom //corners document.getElementById("flex_c_outerradius").value = 5; document.getElementById("flex_c_innerradius").value = 0; document.flexibilityoptions.flex_c_header.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_nav.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_feat.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_cont.selectedIndex = 1; //none, top, bottom, all document.flexibilityoptions.flex_c_foot.selectedIndex = 2; //none, top, bottom, all document.flexibilityoptions.flex_c_wid.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_post.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_comment.selectedIndex = 0; //none, top, bottom, all } else if (x=="d4") { document.flexibilityoptions.flex_header_trans.selectedIndex = 0; document.flexibilityoptions.flex_feat_trans.selectedIndex = 1; document.flexibilityoptions.flex_footer_trans.selectedIndex = 1; document.flexibilityoptions.flex_content_trans.selectedIndex = 0; document.flexibilityoptions.flex_header_fw.selectedIndex = 1; document.flexibilityoptions.flex_header_fwbg.selectedIndex = 4; document.flexibilityoptions.flex_header_bg.selectedIndex = 0; document.flexibilityoptions.flex_blog_bgimage.selectedIndex = 18; document.flexibilityoptions.flex_blog_gradient.selectedIndex = 3; document.flexibilityoptions.flex_nav_fw.selectedIndex = 0; document.flexibilityoptions.flex_nav_position.selectedIndex = 2; document.flexibilityoptions.flex_nav_style.selectedIndex = 0; //"tabs", "square tabs", "square tabs light", "reflect", "simple", "aqua", "indent", "arrowdark", "arrowlight", "cnn", "blackbar", "button", "basic", "transparent" document.getElementById("flex_blog_margin").value = 0; document.getElementById("flex_blog_padding").value = 10; document.getElementById("flex_blog_borderwidth").value = 2; document.flexibilityoptions.flex_blog_mainbrdr.selectedIndex = 1; //no, yes document.flexibilityoptions.flex_blog_headbrdr.selectedIndex = 4; //no change, all, none, top, bottom document.getElementById("flex_mar_head").value = 10; document.flexibilityoptions.flex_blog_navbrdr.selectedIndex = 7; //no change, all, none, top, bottom document.getElementById("flex_mar_nav").value = 0; document.flexibilityoptions.flex_blog_featbrdr.selectedIndex = 2; //no change, all, none, top, bottom document.getElementById("flex_mar_feat").value = 0; document.getElementById("flex_mar_feattop").value = 0; document.flexibilityoptions.flex_blog_contbrdr.selectedIndex = 1; //no change, all, none, top, bottom document.getElementById("flex_mar_cont").value = 0; document.flexibilityoptions.flex_blog_footbrdr.selectedIndex = 2; //no change, all, none, top, bottom //corners document.getElementById("flex_c_outerradius").value = 10; document.getElementById("flex_c_innerradius").value = 7; document.flexibilityoptions.flex_c_header.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_nav.selectedIndex = 1; //none, top, bottom, all document.flexibilityoptions.flex_c_feat.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_cont.selectedIndex = 2; //none, top, bottom, all document.flexibilityoptions.flex_c_foot.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_wid.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_post.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_comment.selectedIndex = 3; //none, top, bottom, all } else if (x=="d5") { document.flexibilityoptions.flex_header_trans.selectedIndex = 0; document.flexibilityoptions.flex_feat_trans.selectedIndex = 0; document.flexibilityoptions.flex_footer_trans.selectedIndex = 0; document.flexibilityoptions.flex_content_trans.selectedIndex = 0; document.flexibilityoptions.flex_header_fw.selectedIndex = 1; document.flexibilityoptions.flex_header_fwbg.selectedIndex = 3; document.flexibilityoptions.flex_header_bg.selectedIndex = 0; document.flexibilityoptions.flex_blog_bgimage.selectedIndex = 11; document.flexibilityoptions.flex_blog_gradient.selectedIndex = 2; document.flexibilityoptions.flex_nav_fw.selectedIndex = 1; document.flexibilityoptions.flex_nav_position.selectedIndex = 1; document.flexibilityoptions.flex_nav_style.selectedIndex = 11; //"tabs", "square tabs", "square tabs light", "reflect", "simple", "aqua", "indent", "arrowdark", "arrowlight", "cnn", "blackbar", "button", "basic", "transparent" document.getElementById("flex_blog_margin").value = 0; document.getElementById("flex_blog_padding").value = 10; document.getElementById("flex_blog_borderwidth").value = 2; document.flexibilityoptions.flex_blog_mainbrdr.selectedIndex = 1; //no, yes document.flexibilityoptions.flex_blog_headbrdr.selectedIndex = 4; //no change, all, none, top, bottom document.getElementById("flex_mar_head").value = 0; document.flexibilityoptions.flex_blog_navbrdr.selectedIndex = 4; //no change, all, none, top, bottom document.getElementById("flex_mar_nav").value = 10; document.flexibilityoptions.flex_blog_featbrdr.selectedIndex = 7; //no change, all, none, top, bottom document.getElementById("flex_mar_feat").value = 0; document.getElementById("flex_mar_feattop").value = 0; document.flexibilityoptions.flex_blog_contbrdr.selectedIndex = 1; //no change, all, none, top, bottom document.getElementById("flex_mar_cont").value = 0; document.flexibilityoptions.flex_blog_footbrdr.selectedIndex = 8; //no change, all, none, top, bottom //corners document.getElementById("flex_c_outerradius").value = 10; document.getElementById("flex_c_innerradius").value = 7; document.flexibilityoptions.flex_c_header.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_nav.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_feat.selectedIndex = 1; //none, top, bottom, all document.flexibilityoptions.flex_c_cont.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_foot.selectedIndex = 2; //none, top, bottom, all document.flexibilityoptions.flex_c_wid.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_post.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_comment.selectedIndex = 3; //none, top, bottom, all } else if (x=="d6") { document.flexibilityoptions.flex_header_trans.selectedIndex = 0; document.flexibilityoptions.flex_feat_trans.selectedIndex = 0; document.flexibilityoptions.flex_footer_trans.selectedIndex = 1; document.flexibilityoptions.flex_content_trans.selectedIndex = 1; document.flexibilityoptions.flex_header_fw.selectedIndex = 1; document.flexibilityoptions.flex_header_fwbg.selectedIndex = 2; document.flexibilityoptions.flex_header_bg.selectedIndex = 0; document.flexibilityoptions.flex_blog_bgimage.selectedIndex = 9; document.flexibilityoptions.flex_blog_gradient.selectedIndex = 2; document.flexibilityoptions.flex_nav_fw.selectedIndex = 1; document.flexibilityoptions.flex_nav_position.selectedIndex = 1; document.flexibilityoptions.flex_nav_style.selectedIndex = 9; //"tabs", "square tabs", "square tabs light", "reflect", "simple", "aqua", "indent", "arrowdark", "arrowlight", "cnn", "blackbar", "button", "basic", "transparent" document.getElementById("flex_blog_margin").value = 0; document.getElementById("flex_blog_padding").value = 10; document.getElementById("flex_blog_borderwidth").value = 2; document.flexibilityoptions.flex_blog_mainbrdr.selectedIndex = 1; //no, yes document.flexibilityoptions.flex_blog_headbrdr.selectedIndex = 4; //no change, all, none, top, bottom document.getElementById("flex_mar_head").value = 0; document.flexibilityoptions.flex_blog_navbrdr.selectedIndex = 4; //no change, all, none, top, bottom document.getElementById("flex_mar_nav").value = 10; document.flexibilityoptions.flex_blog_featbrdr.selectedIndex = 1; //no change, all, none, top, bottom document.getElementById("flex_mar_feat").value = 10; document.getElementById("flex_mar_feattop").value = 0; document.flexibilityoptions.flex_blog_contbrdr.selectedIndex = 2; //no change, all, none, top, bottom document.getElementById("flex_mar_cont").value = 0; document.flexibilityoptions.flex_blog_footbrdr.selectedIndex = 2; //no change, all, none, top, bottom //corners document.getElementById("flex_c_outerradius").value = 10; document.getElementById("flex_c_innerradius").value = 7; document.flexibilityoptions.flex_c_header.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_nav.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_feat.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_cont.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_foot.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_wid.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_post.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_comment.selectedIndex = 3; //none, top, bottom, all } else if (x=="d7") { document.flexibilityoptions.flex_header_trans.selectedIndex = 0; document.flexibilityoptions.flex_feat_trans.selectedIndex = 1; document.flexibilityoptions.flex_footer_trans.selectedIndex = 1; document.flexibilityoptions.flex_content_trans.selectedIndex = 1; document.flexibilityoptions.flex_header_fw.selectedIndex = 0; document.flexibilityoptions.flex_header_fwbg.selectedIndex = 0; document.flexibilityoptions.flex_header_bg.selectedIndex = 8; document.flexibilityoptions.flex_blog_bgimage.selectedIndex = 9; document.flexibilityoptions.flex_blog_gradient.selectedIndex = 3; document.flexibilityoptions.flex_nav_fw.selectedIndex = 0; document.flexibilityoptions.flex_nav_position.selectedIndex = 1; document.flexibilityoptions.flex_nav_style.selectedIndex = 4; //"tabs", "square tabs", "square tabs light", "reflect", "simple", "aqua", "indent", "arrowdark", "arrowlight", "cnn", "blackbar", "button", "basic", "transparent" document.getElementById("flex_blog_margin").value = 10; document.getElementById("flex_blog_padding").value = 10; document.getElementById("flex_blog_borderwidth").value = 2; document.flexibilityoptions.flex_blog_mainbrdr.selectedIndex = 1; //no, yes document.flexibilityoptions.flex_blog_headbrdr.selectedIndex = 7; //no change, all, none, top, bottom document.getElementById("flex_mar_head").value = 0; document.flexibilityoptions.flex_blog_navbrdr.selectedIndex = 8; //no change, all, none, top, bottom document.getElementById("flex_mar_nav").value = 10; document.flexibilityoptions.flex_blog_featbrdr.selectedIndex = 2; //no change, all, none, top, bottom document.getElementById("flex_mar_feat").value = 10; document.getElementById("flex_mar_feattop").value = 0; document.flexibilityoptions.flex_blog_contbrdr.selectedIndex = 2; //no change, all, none, top, bottom document.getElementById("flex_mar_cont").value = 0; document.flexibilityoptions.flex_blog_footbrdr.selectedIndex = 2; //no change, all, none, top, bottom //corners document.getElementById("flex_c_outerradius").value = 10; document.getElementById("flex_c_innerradius").value = 7; document.flexibilityoptions.flex_c_header.selectedIndex = 1; //none, top, bottom, all document.flexibilityoptions.flex_c_nav.selectedIndex = 2; //none, top, bottom, all document.flexibilityoptions.flex_c_feat.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_cont.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_foot.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_wid.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_post.selectedIndex = 3; //none, top, bottom, all document.flexibilityoptions.flex_c_comment.selectedIndex = 3; //none, top, bottom, all } else if (x=="d8") { document.flexibilityoptions.flex_header_trans.selectedIndex = 0; document.flexibilityoptions.flex_feat_trans.selectedIndex = 0; document.flexibilityoptions.flex_footer_trans.selectedIndex = 0; document.flexibilityoptions.flex_content_trans.selectedIndex = 0; document.flexibilityoptions.flex_header_fw.selectedIndex = 0; document.flexibilityoptions.flex_header_fwbg.selectedIndex = 0; document.flexibilityoptions.flex_header_bg.selectedIndex = 8; document.flexibilityoptions.flex_blog_bgimage.selectedIndex = 9; document.flexibilityoptions.flex_blog_gradient.selectedIndex = 2; document.flexibilityoptions.flex_nav_fw.selectedIndex = 0; document.flexibilityoptions.flex_nav_position.selectedIndex = 0; document.flexibilityoptions.flex_nav_style.selectedIndex = 0; //"tabs", "square tabs", "square tabs light", "reflect", "simple", "aqua", "indent", "arrowdark", "arrowlight", "cnn", "blackbar", "button", "basic", "transparent" document.getElementById("flex_blog_margin").value = 15; document.getElementById("flex_blog_padding").value = 5; document.getElementById("flex_blog_borderwidth").value = 2; document.flexibilityoptions.flex_blog_mainbrdr.selectedIndex = 0; //no, yes document.flexibilityoptions.flex_blog_headbrdr.selectedIndex = 0; //no change, all, none, top, bottom document.getElementById("flex_mar_head").value = 0; document.flexibilityoptions.flex_blog_navbrdr.selectedIndex = 0; //no change, all, none, top, bottom document.getElementById("flex_mar_nav").value = 0; document.flexibilityoptions.flex_blog_featbrdr.selectedIndex = 0; //no change, all, none, top, bottom document.getElementById("flex_mar_feat").value = 0; document.getElementById("flex_mar_feattop").value = 0; document.flexibilityoptions.flex_blog_contbrdr.selectedIndex = 0; //no change, all, none, top, bottom document.getElementById("flex_mar_cont").value = 0; document.flexibilityoptions.flex_blog_footbrdr.selectedIndex = 0; //no change, all, none, top, bottom //corners document.getElementById("flex_c_outerradius").value = 0; document.getElementById("flex_c_innerradius").value = 0; document.flexibilityoptions.flex_c_header.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_nav.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_feat.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_cont.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_foot.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_wid.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_post.selectedIndex = 0; //none, top, bottom, all document.flexibilityoptions.flex_c_comment.selectedIndex = 0; //none, top, bottom, all } document.flexibilityoptions.submit(); } function schemechange() { var y = document.getElementById("colorscheme").value; if(y=="sf") { x=['23363B','752B26','D9C9B4','23363B','752B26','23363B','BFAD95','23363B','752B26','FFF','23363B','752B26','F8983D','D9C9B4','C77532','752B26','23363B','23363B','752B26','23363B','23363B','23363B','752B26','ff9900','C77532','D9C9B4','D9C9B4','C77532','23363B','752B26','C77532','FFFFFF','752B26','C77532','000','EDE3D5','23363B','752B26','23363B','B0A99E','752B26','0'] } else if (y=="ad") { x=['452520','705202','705202','FFF','FFF','706A59','CFC3A3','452520','422A1D','FFF','333','AB5337','E56623','C2B799','E8DBB7','AB5337','333','452520','E56623','706A59','452520','452520','FFF','AB5337','AB5337','E8DBB7','E8DBB7','AB5337','452520','693831','E8DBB7','E8DBB7','AB5337','E8DBB7','000','EBDDB9','877F6B','E56623','333','B0A58B','AB5337','2'] } else if (y=="rd") { x=['4F4739','9B0000','FFFFFF','4F0000','9B0000','706A59','D9D2C5','4F0000','4F0000','FFF','333','4F0000','9B0000','F0EADF','E8DBB7','700000','333','9B0000','4F0000','706A59','4F0000','4F0000','F2F2F2','333','333','FFF','FFF','9B0000','4F0000','9B0000','FFF','FFF','700000','FFF','000','F0EADF','B5B1A8','9B0000','333','B5B1A8','9B0000','1'] } else if (y=="bl") { x=['3F444F','375D81','FFFFFF','2C4359','375D81','706A59','CED1D9','183152', '375D81','FFF','333', '375D81','183152','E1E4ED','C4D7ED','375D81','333', '375D81','183152','706A59','375D81','375D81','F2F2F2','333', '333','C4D7ED','FFF','375D81','183152','375D81','C4D7ED','C4D7ED','183152','C4D7ED','000','E1E4ED','B7BCC9','375D81','333','B7BCC9','375D81','1'] } else if (y=="grn") { x=['343D27','44631A','FFFFFF','44631A','5B8F16','767D6E','C4CFB6','343D27','44631A','FFF','333','44631A1','5B8F16','E8F0DF','E8F0DF','5B8F16','333','5B8F16','44631A','767D6E','44631A','92968C','F2F2F2','333','333','E8F0DF','FFF','5B8F16','44631A','5B8F16','C9E8A0','C9E8A0','44631A','D3D9CA','000','DCE8CC','B7BCC9','5B8F16','333','AEB8A2','44631A','1'] } else if (y=="gs") { x=['333','666','FFFFFF','666','444','555','ccc','333','666','FFF','333','000','666','f2f2f2','ccc','555','333','666','333','777','666','999','F2F2F2','333','333','ccc','FFF','777','666','888','fff','fff','555','999','000','999','666','000','333','888','444','1'] } else if (y=="dn") { x=['222','4C2E00','fff','333','333','333','333','999','ff9900','333','ccc','ff9900','FFF','222','888','222','777','ff9900','FFF','000','888','666','333','777','777','E8DBB7','E8DBB7','ff9900','111','333','999','000','4C2E00','ff9900','000','444','000','ff9900','999','000','ff9900','2'] } else if (y=="bw") { x=['FFF','000','000','fff','fff','fff','fff','000','000','FFF','000','000','000','fff','FFF','000','000','000','000','FFF','000','000','FFF','666','666','FFF','FFF','000','FFF','ccc','000','FFF','333','FFF','000','FFF','000','000','000','FFF','000','1'] } else if (y=="bg") { x=['7A7A62','3046D9','3E3E40','fff','fff','ccc','E8E4D8','444','3046D9','FFF','444','3046D9','507303','fff','FFF','86BF0A','444','3046D9','507303','ccc','333','ccc','FFF','666','666','F2F2F2','FFF','86BF0A','507303','86BF0A','fff','fff','507303','E8E4D8','000','fff','ccc','3046D9','444','ccc','86BF0A','1'] } else if (y=="bo") { x=['47372D','1C2F54','1C2F54','fff','fff','ccc','E8E4D8','444','1C2F54','FFF','444','1C2F54','507303','fff','FFF','AB4100','444','1C2F54','507303','ccc','333','ccc','FFF','666','666','F2F2F2','FFF','AB4100','732C00','AB4100','fff','fff','1C2F54','E8E4D8','000','fff','ccc','1C2F54','444','ccc','AB4100','1'] } else if (y=="cm") { x=['4c534c','6aaa4c','6aaa4c','fff','fff','d4d6be','f1f2e2','444','6aaa4c','FFF','444','6aaa4c','537e49','fafbf0','FFF','537e49','444','1C2F54','507303','d4d6be','333','d4d6be','FFF','666','666','F2F2F2','FFF','537e49','91937e','666758','fff','fff','41692a','f1f2e2','000','fafbf0','d4d6be','6aaa4c','444','fafbf0','6aaa4c','1'] } else if (y=="gr") { x=['917B31','856F35','856F35','fff','fff','856F35','EDE0C2','444','856F35','FFF','444','856F35','594A24','F7EEDA','F4CE38','856F35','444','856F35','594A24','856F35','333','856F35','FFF','666','666','F4CE38','FFF','F4CE38','856F35','A38741','FFF','000','856F35','f1f2e2','000','F7EEDA','856F35','856F35','333','F7EEDA','856F35','1'] } else if (y=="tl") { x=['5E4C1C','3A9176','856F35','fff','fff','856F35','E8E4D8','444', '3A9176','FFF','444', '856F35','594A24','F7F3E9','E0FF72','3A9176','444', '856F35','5E4C1C','856F35','333','856F35','FFF','666', '666','FFF','FFF','3A9176','3A9176','2F755D','FFF','CCE868','1F5955','CCE868','000','F7F3E9','856F35','856F35','333','F7F3E9','856F35','1'] } else if (y=="mn") { x=['272D3D','5E0E29','F7CC5F','20232E','566070','9EB7C4','566070','9EB7C4','9EB7C4','FFF','343953','5E0E29','566070','272D3D','F7CC5F','20232E','9EB7C4','9EB7C4','F7CC5F','9EB7C4','272D3D','272D3D','380818', 'FFF','FFF','F7CC5F','F7CC5F', '566070','272D3D','14171F','F7CC5F','F7CC5F','380818','F7CC5F','000', '272D3D','272D3D', 'F7CC5F','F7CC5F','272D3D', '5E0E29','2'] } else if (y=="gg") { x=['3F186B', '9900BF','6E036E','FFF','FFF','6E036E','F7E1F5','6E036E','6E036E','FFF','333','6E036E','C900E8','FFFEE6','FADD23','BE00D4','6E036E','6E036E','BE00D4','6E036E','BE00D4','BE00D4','FFF','BE00D4', 'BE00D4','FADD23', 'FADD23','BE00D4', 'FFFEE6', 'FFFCBD', '9900BF', 'FFF', '9900BF', 'FFF','000','F7EDF6','6E036E','6E036E','333','F7EDF6','6E036E','1'] } document.getElementById("flex_page_backgroundcolor").value = x[0]; document.getElementById("flex_header_backgroundcolor").value = x[1]; document.getElementById("flex_content_color").value = x[6]; document.getElementById("flex_title_clr").value = x[25]; document.getElementById("flex_title_hvr").value = x[25]; document.getElementById("flex_tagline_color").value = x[25]; document.getElementById("flex_rss_color").value = x[25]; document.getElementById("flex_rss_hover").value = x[26]; document.getElementById("flex_nav_color").value = x[27]; document.getElementById("flex_nav_tabhvr").value = x[27]; document.getElementById("flex_nav_tabact").value = x[27]; document.getElementById("flex_nav_txtclr").value = x[31]; document.getElementById("flex_nav_hvrcolor").value = x[31]; document.getElementById("flex_nav_subback").value = x[28]; document.getElementById("flex_nav_subhov").value = x[29]; document.getElementById("flex_nav_subtext").value = x[30]; document.getElementById("flex_nav_subtexthov").value = x[30]; document.getElementById("flex_nav_subbrdrclr").value = x[34]; document.getElementById("flex_nav2_bgcolor").value = x[27]; document.getElementById("flex_comments_border").value = x[36]; document.getElementById("flex_admin_comments").value = x[39]; document.getElementById("flex_comments_text").value = x[38]; document.getElementById("flex_comments_link").value = x[37]; document.getElementById("flex_comments_reply").value = x[40]; document.getElementById("flex_comments_background").value = x[35]; document.getElementById("flex_comments_button").value = x[40]; document.getElementById("flex_sidebar_boxcolor").value = x[13]; document.getElementById("flex_footer_color").value = x[32]; document.getElementById("flex_footer_featcolor").value = x[1]; document.getElementById("flex_footer_text").value = x[33]; document.getElementById("flex_footer_link").value = x[33]; document.getElementById("flex_blog_tc").value = x[8]; document.getElementById("flex_sidebar_ulinec").value = x[21]; document.getElementById("flex_post_clr").value = x[9]; document.getElementById("flex_post_brdr").value = x[5]; document.getElementById("flex_post_titlebg").value = x[3]; document.getElementById("flex_post_hover").value = x[2]; document.getElementById("flex_post_color").value = x[2]; document.getElementById("flex_link_color").value = x[11]; document.getElementById("flex_link_hover").value = x[12]; document.getElementById("flex_posttext_color").value = x[10]; document.getElementById("flex_metadata_color").value = x[22]; document.getElementById("flex_metadata_link").value = x[24]; document.getElementById("flex_ptitle_ulinec").value = x[4]; document.flexibilityoptions.flex_sidebar_list.selectedIndex = x[41]; document.flexibilityoptions.flex_lsidebar_list.selectedIndex = x[41]; document.flexibilityoptions.flex_foot_list.selectedIndex = x[41]; document.getElementById("flex_sidebar_boxborder").value = x[19]; document.getElementById("flex_sidebar_title").value = x[14]; document.getElementById("flex_sidebar_titlebackground").value = x[15]; document.getElementById("flex_sidebar_textcolor").value = x[16]; document.getElementById("flex_sidebar_textlink").value = x[17]; document.getElementById("flex_sidebar_hovercolor").value = x[18]; document.getElementById("flex_pagenavi_bg").value = x[1]; document.getElementById("flex_pagenavi_hover").value = x[0]; document.getElementById("flex_pagenavi_active").value = x[0]; document.getElementById("flex_blog_bordercolor").value = x[34]; document.getElementById("flex_lsidebar_txtcolor").value = x[7]; document.getElementById("flex_lsidebar_titlecolor").value = x[20]; document.getElementById("flex_sidebar_ulinec").value = x[21]; document.getElementById("flex_lsidebar_linkcolor").value = x[8]; document.getElementById("flex_blog_tclink").value = x[8]; document.getElementById("flex_lsidebar_hovercolor").value = x[7]; document.flexibilityoptions.submit(); } function copyItLayout() { var y = document.getElementById("layout").value; if(y=="960single") { document.getElementById("flex_blog_width").value = '960'; document.getElementById("flex_lsb_width").value = '340'; document.getElementById("flex_rsb_width").value = '340'; document.flexibilityoptions.flex_lsidebar_show.selectedIndex = 0; document.flexibilityoptions.flex_rsidebar_show.selectedIndex = 0; document.getElementById("flex_lsidebar_width").value = '330'; document.getElementById("flex_rsidebar_width").value = '330'; document.flexibilityoptions.flex_ssb_loc.selectedIndex = 0; document.flexibilityoptions.flex_lsb_show.selectedIndex = 0; document.flexibilityoptions.flex_rsb_show.selectedIndex = 0; } else if(y=="960dual") { document.getElementById("flex_blog_width").value = '960'; document.getElementById("flex_lsb_width").value = '340'; document.getElementById("flex_rsb_width").value = '340'; document.flexibilityoptions.flex_lsidebar_show.selectedIndex = 0; document.flexibilityoptions.flex_rsidebar_show.selectedIndex = 0; document.getElementById("flex_lsidebar_width").value = '180'; document.getElementById("flex_rsidebar_width").value = '140'; document.flexibilityoptions.flex_ssb_loc.selectedIndex = 0; document.flexibilityoptions.flex_lsb_show.selectedIndex = 0; document.flexibilityoptions.flex_rsb_show.selectedIndex = 0; } else if(y=="960dualright") { document.getElementById("flex_blog_width").value = '960'; document.getElementById("flex_lsb_width").value = '150'; document.getElementById("flex_rsb_width").value = '240'; document.flexibilityoptions.flex_lsidebar_show.selectedIndex = 0; document.flexibilityoptions.flex_rsidebar_show.selectedIndex = 0; document.getElementById("flex_lsidebar_width").value = '160'; document.getElementById("flex_rsidebar_width").value = '250'; document.flexibilityoptions.flex_ssb_loc.selectedIndex = 2; document.flexibilityoptions.flex_lsb_show.selectedIndex = 1; document.flexibilityoptions.flex_rsb_show.selectedIndex = 0; document.flexibilityoptions.flex_lsb_pos.selectedIndex = 1; } else if(y=="1020dualboth") { document.getElementById("flex_blog_width").value = '1020'; document.getElementById("flex_lsb_width").value = '250'; document.getElementById("flex_rsb_width").value = '200'; document.flexibilityoptions.flex_lsidebar_show.selectedIndex = 0; document.flexibilityoptions.flex_rsidebar_show.selectedIndex = 0; document.getElementById("flex_lsidebar_width").value = '290'; document.getElementById("flex_rsidebar_width").value = '290'; document.flexibilityoptions.flex_ssb_loc.selectedIndex = 2; document.flexibilityoptions.flex_lsb_pos.selectedIndex = 0; document.flexibilityoptions.flex_lsb_show.selectedIndex = 1; document.flexibilityoptions.flex_rsb_show.selectedIndex = 0; } else if(y=="960dualboth") { document.getElementById("flex_blog_width").value = '960'; document.getElementById("flex_lsb_width").value = '200'; document.getElementById("flex_rsb_width").value = '300'; document.flexibilityoptions.flex_lsidebar_show.selectedIndex = 0; document.flexibilityoptions.flex_rsidebar_show.selectedIndex = 0; document.getElementById("flex_lsidebar_width").value = '180'; document.getElementById("flex_rsidebar_width").value = '140'; document.flexibilityoptions.flex_lsb_pos.selectedIndex = 0; document.flexibilityoptions.flex_ssb_loc.selectedIndex = 2; document.flexibilityoptions.flex_lsb_show.selectedIndex = 1; document.flexibilityoptions.flex_rsb_show.selectedIndex = 0; } else if(y=="920dual") { document.getElementById("flex_blog_width").value = '920'; document.getElementById("flex_lsb_width").value = '200'; document.getElementById("flex_rsb_width").value = '200'; document.flexibilityoptions.flex_lsidebar_show.selectedIndex = 0; document.flexibilityoptions.flex_rsidebar_show.selectedIndex = 0; document.getElementById("flex_lsidebar_width").value = '190'; document.getElementById("flex_rsidebar_width").value = '190'; document.flexibilityoptions.flex_lsb_pos.selectedIndex = 0; document.flexibilityoptions.flex_ssb_loc.selectedIndex = 0; document.flexibilityoptions.flex_lsb_show.selectedIndex = 1; document.flexibilityoptions.flex_rsb_show.selectedIndex = 0; } else if(y=="880left") { document.getElementById("flex_blog_width").value = '880'; document.getElementById("flex_lsb_width").value = '250'; document.getElementById("flex_rsb_width").value = '250'; document.flexibilityoptions.flex_lsidebar_show.selectedIndex = 0; document.flexibilityoptions.flex_rsidebar_show.selectedIndex = 0; document.getElementById("flex_lsidebar_width").value = '240'; document.getElementById("flex_rsidebar_width").value = '240'; document.flexibilityoptions.flex_lsb_pos.selectedIndex = 0; document.flexibilityoptions.flex_ssb_loc.selectedIndex = 1; document.flexibilityoptions.flex_lsb_show.selectedIndex = 1; document.flexibilityoptions.flex_rsb_show.selectedIndex = 1; } else if(y=="750none") { document.getElementById("flex_blog_width").value = '750'; document.getElementById("flex_lsb_width").value = '250'; document.getElementById("flex_rsb_width").value = '250'; document.flexibilityoptions.flex_lsidebar_show.selectedIndex = 1; document.flexibilityoptions.flex_rsidebar_show.selectedIndex = 1; document.getElementById("flex_lsidebar_width").value = '240'; document.getElementById("flex_rsidebar_width").value = '240'; document.flexibilityoptions.flex_ssb_loc.selectedIndex = 1; document.flexibilityoptions.flex_lsb_show.selectedIndex = 0; document.flexibilityoptions.flex_rsb_show.selectedIndex = 1; } else if(y=="AdSense") { document.getElementById("flex_blog_width").value = '770'; document.getElementById("flex_lsb_width").value = '250'; document.getElementById("flex_rsb_width").value = '250'; document.flexibilityoptions.flex_lsidebar_show.selectedIndex = 0; document.flexibilityoptions.flex_rsidebar_show.selectedIndex = 0; document.getElementById("flex_lsidebar_width").value = '240'; document.getElementById("flex_rsidebar_width").value = '240'; document.flexibilityoptions.flex_ssb_loc.selectedIndex = 0; document.flexibilityoptions.flex_lsb_show.selectedIndex = 0; document.flexibilityoptions.flex_rsb_show.selectedIndex = 0; } else { document.getElementById("flex_blog_width").value = '760'; document.getElementById("flex_lsidebar_width").value = '240'; document.getElementById("flex_rsidebar_width").value = '240'; } document.flexibilityoptions.submit(); }