// Email confirmation
var email_confirmation = 0;
//Forum collector URL
var mvote_collector_url='http://forums.marketocracy.com/general/votecontrol.page';
//Registration Opt-In link URL
var mvote_optin_url='#';
//Logo image URL
var mvote_logo='http://forums.marketocracy.com/general/images/Micon.png';
//Minimal/initial comment field size (in rows)
var mvote_comment_rows=10;
//Marketocracy cookie life-time in milliseconds
var mvote_cookie_time=1000*60*60*24*7;//One week
//Commenting support flag
var mvote_comment_on=false;
//Retype password flag (registration)
var mvote_retype_password=false;
//Retype e-mail flag (registration)
var mvote_retype_email=true;

//Base URL for vote control images
var mvote_images_path='http://forums.marketocracy.com/vc/common/images/stars/';

//Rate image size
var mvote_image_size={x: 17, y: 17};
//Comment image size
var mvote_comment_size={x: 75, y: 14};
//Logo image size
var mvote_logo_size={x: 16, y: 16};

//Rate image file names
var mvote_images_inactive_off=new Array('star_off.gif','star_off.gif','star_off.gif','star_off.gif','star_off.gif','star_off.gif','star_off.gif');
var mvote_images_inactive_on=new Array('star_on.gif','star_on.gif','star_on.gif','star_on.gif','star_on.gif','star_on.gif','star_on.gif');
var mvote_images_active_off=new Array('over_off.gif','over_off.gif','over_off.gif','over_off.gif','over_off.gif','over_off.gif','over_off.gif');
var mvote_images_active_on=new Array('over_on.gif','over_on.gif','over_on.gif','over_on.gif','over_on.gif','over_on.gif','over_on.gif');
var mvote_images_disabled_off=new Array('grey_off.gif','grey_off.gif','grey_off.gif','grey_off.gif','grey_off.gif','grey_off.gif','grey_off.gif');
var mvote_images_disabled_on=new Array('grey_on.gif','grey_on.gif','grey_on.gif','grey_on.gif','grey_on.gif','grey_on.gif','grey_on.gif');
//Comment image file name
var mvote_comment_image='comment.gif';

//Rate textual alternatives
var mvote_rate_names=new Array('Terrible (-3)','Worse (-2)','Bad (-1)','So-so (0)','Good (+1)','Better (+2)','Best (+3)');

//Vote control texts
var mvote_texts={loading: 'Loading Vote Control ...',
                 logo_title: 'Marketocracy',
                 ratebar_title: 'Vote: ',
                 infobar_title: 'Rating: ',
                 not_yet_rated: 'not yet rated',
                 vote: 'vote',
                 votes: 'votes',
                 login_as: 'You are logged in as ',
                 logout: 'Logout',
                 user_input_title: 'User name*: ',
                 firstname_input_title: 'First name*: ',
                 lastname_input_title: 'Last name*: ',
                 pass_input_title: 'Password*: ',
                 email_input_title: 'E-mail*: ',
                 remail_input_title: 'Retype e-mail*: ',
                 captcha_input_title: 'Captcha*: ',
                 captcha_input_hint: 'Please enter the text from the picture below (click <a>here</a> if you unable to clearly read it)',
                 repass_input_title: 'Retype password*: ',
                 login_btn_title: 'Login',
                 cancel_btn_title: 'Cancel',
                 register_btn_title: 'Register',
                 captcha_alt: 'Registration captcha',
                 login_inputs_div: '&nbsp;&nbsp;&nbsp;',
                 login_btn_div: ' ',
                 cancel_btn_div: ' ',
                 login_info_div: ' | ',
                 msg_err_empty_username: 'Please specify your user name!',
                 msg_err_empty_firstname: 'Please specify your first name!',
                 msg_err_empty_lastname: 'Please specify your last name!',
                 msg_err_empty_password: 'Please enter your password!',
                 msg_err_empty_email: 'Please enter your e-mail!',
                 msg_err_empty_captcha: 'Please enter captcha!',
                 msg_err_retype_password: 'Password and retyped password should be the same!',
                 msg_err_retype_email: 'E-mail and retyped e-mail should be the same!',
                 msg_err_after_logout: 'Unable to complete logout!',
                 msg_err_after_register: 'Unable to complete registration!',
                 opt_in_title: 'Opt-In: ',
                 opt_in_text: 'Yes, send me email from InvestorPlace Blogs regarding blog post notifications and voting/commenting bulletins, along with The Investor Post weekly e-letter. Please un-check this box if you would prefer not to receive email from us.<br><a>Privacy Policy</a>',
                 reg_info_text: "InvestorPlace Blogs is powered by Marketocracy. Marketocracy has authorized Investor Place Blogs as an official registrar for voting through Marketocracy's Investment Research Rating service. Registered members of InvestorPlace Blogs are linked with a Marketocracy account to establish voting power based on their performance of trading and posting on stocks.",
                 comment_alt: 'Comment on/off',
                 tags_title: 'Tags: ',
                 tags_info: 'Tag allowed characters are letters, minus and dashes. Tag separator is comma. Dot as prefix means that tag is private. Asterisk as postfix means that tag is persistent.',
                 comment_title: 'Comment: ',
                 comment_send_btn_title: 'Send comment',
                 comment_cancel_btn_title: 'Cancel',
                 tags_error: 'Tags format error: ',
                 comment_confirm: 'Your comment has been sent to forum.',
                 empty_comment_error: 'Comment field can not be empty!'};
                 
//Opt-in domains
var mvote_optin_domains=new Array('phillipsresearch.com','investorplaceblogs.com');

//Vote control elements styles (used at dynamic visibility state changing)
var mvote_styles={info: 'inline',
                  vote_bar: 'inline',
                  login_info: 'inline'};
