//popovers.js
var popover_up = 0;
var txt = '';

Event.observe('myaccount', 'mouseover', function(event){
	txt = '<h3>My Account</h3><p>When you place your new incorporation order online with us, you can follow the progress of your order by accessing the &quot;My Account&quot; section of our web site. You can access your account information any time of day on any day of the week...giving you complete flexibility and providing you with up-to-date information on your new order.</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('myaccount', 'mouseout', function(event){
	hidePopover();
});

Event.observe('namesearch', 'mouseover', function(event){
	txt = '<h3>Name Search</h3><p>The very first task we undertake is a thorough search of your proposed corporate/LLC name in the state of incorporation. We search the state&#8217;s database to ensure there is no exact or similar name already on record with the state. If a conflict is discovered, we typically will notify you within 24 - 48 hours and will request an alternative name choice from you (if not already provided in your order).</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('namesearch', 'mouseout', function(event){
	hidePopover();
});

Event.observe('certificate', 'mouseover', function(event){
	txt = '<h3>Prepare and File Certificate</h3><p>After confirming the availability of your proposed corporate/LLC name choice, we then prepare the Certificate/Articles of Incorporation/Formation and submit them to the appropriate division in the state you have selected. All certificates/articles are prepared in compliance with state requirements and laws, so you can expect your new corporation or LLC to be filed without unnecessary delays. Filing time frames are within 24 hours for Delaware and within 48 - 72 hours for most other states.</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('certificate', 'mouseout', function(event){
	hidePopover();
});

Event.observe('electronicfiling', 'mouseover', function(event){
	txt = '<h3>Same Day Electronic Filing</h3><p>If you are forming a Delaware corporation or LLC, we can file the Certificate of Incorporation/Formation "electronically" the very same day you place your order with us. This means you can receive confirmation that your new corporation or LLC is officially filed that same day! No other state has this advantageous feature.</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('electronicfiling', 'mouseout', function(event){
	hidePopover();
});

Event.observe('expeditedfiling', 'mouseover', function(event){
	txt = '<h3>Expedited Filing Service</h3><p><b>Why wait two weeks to have your</b> documents filed? We expedite your filing so that your business isformed/incorporated within 48-72 hours. In Delaware, your filing will be completed within 24 hours. For only $25 more, your documents will <b>be shipped overnight</b>.</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('expeditedfiling', 'mouseout', function(event){
	hidePopover();
});

Event.observe('registeredagentservice', 'mouseover', function(event){
	txt = '<h3>Registered Agent Services</h3><p>Every state requires that you designate a Registered Agent and Registered Office in the Certificate of Incorporation. The Registered Agent and Registered Office must be a physical street address located in the state of incorporation. The primary purpose of a Registered Agent is to accept and forward Service of Process on behalf of the corporation/LLC. Registered Agents, Ltd. provides Registered Agent and Registered Office services in all 50 states and will automatically provide this required service unless you indicate otherwise below.</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('registeredagentservice', 'mouseout', function(event){
	hidePopover();
});

Event.observe('llckit', 'mouseover', function(event){
	txt = '<h3>Deluxe Corporate Kit</h3><p>Our Deluxe Corporate Kit provides you with a corporate seal (generally required by financial institutions to open a bank account), 20 stock certificates with your corporate name imprinted on them, a stock transfer ledger, a minute book with a supply of minute book paper and sample forms for your minutes and form by-laws.</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('llckit', 'mouseout', function(event){
	hidePopover();
});

Event.observe('ein', 'mouseover', function(event){
	txt = '<h3>EIN (Tax ID) Application</h3><p>When you form a new corporation or LLC, the IRS generally requires you to obtain an EIN. We can prepare your EIN application (IRS Form SS-4) and send it to you with your other incorporation documents. All you need to do is sign it and send it on its way to the IRS by fax or in a pre-addressed envelope we provide!</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('ein', 'mouseout', function(event){
	hidePopover();
});

Event.observe('scorpelection', 'mouseover', function(event){
	txt = '<h3>S-Corporation Election</h3><p>If S corporation status is best for your business, we will prepare the election form (IRS Form 2553) and send it to you for signature along with your other incorporation documents.</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('scorpelection', 'mouseout', function(event){
	hidePopover();
});
/*
Event.observe('parvaluehelp', 'mouseout', function(event){
	hidePopover();
});
*/
Event.observe('odservice', 'mouseover', function(event){
	txt = '<h3>Overnight Delivery Service</h3><p><b>To help meet important deadlines,</b> such as opening a bank account or signing a contract, our Overnight Delivery Service is a must. Your incorporation/formation filing will be handled as a priority request, and then delivered to you by overnight <b>courrier service once we receive</b> your documents back from the state of incorporation. Our Overnight Delivery Service is your assurance that your documents will arrive as quickly as possible.</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('odservice', 'mouseout', function(event){
	hidePopover();
});

Event.observe('apostille', 'mouseover', function(event){
	txt = '<h3>Apostille</h3><p>Official government authentication/certification of a document, usually by the State Department, Justice Ministry or Foreign Ministry, which legalizes it for use in another country. This service is included in Registered Agents, Ltd.&#8217;s international package.</p>';
	watch(txt, Event.pointerY(event));
});

Event.observe('apostille', 'mouseout', function(event){
	hidePopover();
});

function hidePopover()
{
	$('popover').hide();
}

function watch(txtval, yval)
{
		y = String(yval-350) + 'px';
		$('popover').setStyle({left:'-100px',top:y});
		$('popover').innerHTML = txtval;
		$('popover').show();

}