· 8 years ago · Jun 13, 2018, 04:22 PM
1<!DOCTYPE html>
2<html lang="en" >
3<head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <meta name="keywords" content="domain auctions, domain sales, domain names, domains, marketing ideas, domain names" >
7 <meta name="google-site-verification" content="RWCxduPkVWdmwZ2E5Wzhhv7Lg5XiJe6FL33ojQHCH5A" />
8 <meta name="verify-v1" content="DuwNHxem2F47ZKCcynZlITE+q4exucxYtazhQvOWXPY=">
9 <meta name="msvalidate.01" content="E6CE985227642C8F5E0143969A45D6B1">
10 <meta name="y_key" content="e263b5de825776bf">
11 <title>Submit Domains</title>
12
13 <link href="http://static-orig.bido.com/images/favicon.ico" rel="icon" type="image/x-icon">
14 <link href="http://static-orig.bido.com/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
15
16 <link type="text/css" rel="stylesheet" href="http://static-orig.bido.com/styles/submit.css?v=20171021asdavf" media="print, screen">
17
18
19 <!--[if IE]>
20 <link type="text/css" rel="stylesheet" href="http://static-orig.bido.com/styles/ie.css">
21 <script type="text/javascript" src="http://static-orig.bido.com/styles/iepngfix_tilebg.js"></script>
22 <![endif]-->
23 <!--[if lte IE 6]>
24 <style type="text/css">
25 #loading {
26 position: absolute;
27 }
28 </style>
29 <![endif]-->
30 <!--[if lt IE 9]>
31 <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">
32 </script>
33 <![endif]-->
34
35 <script type="text/javascript" src="http://gc.kis.v2.scr.kaspersky-labs.com/97E409BD-9379-6241-A954-1A4F77A15AAC/main.js" charset="UTF-8"></script><style type="text/css" id="cursor_wait">
36 body, a, img, input, textarea, iframe, div, button, span { cursor: wait !important; }
37 </style>
38 <style type="text/css">
39 </style>
40 <!--[if !IE]>
41 <style type="text/css">
42 .auction-list-home .list-home tr th { font-size: 9px;}
43 </style>
44 <![endif]-->
45
46 <script type="text/javascript">
47 // counter
48 var imgxi = 0;
49
50 // set image list
51 imagesx = [];
52
53 imagesx[imgxi++]="/buttons/table/place_bid.gif";
54 imagesx[imgxi++]="/buttons/place_bid_n.gif";
55 imagesx[imgxi++]="/logos/bidoLogo.gif";
56 imagesx[imgxi++]="/banners/banner670_90.gif";
57 imagesx[imgxi++]="/header_bg.gif";
58 imagesx[imgxi++]="/bg_line.gif";
59 imagesx[imgxi++]="/topMenu.gif";
60 imagesx[imgxi++]="/header_auct_long.gif";
61 imagesx[imgxi++]="/header_auct_long_left.gif";
62 imagesx[imgxi++]="/header_auct_long_right.gif";
63 imagesx[imgxi++]="/tabs.gif";
64 imagesx[imgxi++]="/auction_list_home_live_l.gif";
65 imagesx[imgxi++]="/auction_list_home_live_r.gif";
66 imagesx[imgxi++]="/icons/help-green.gif";
67 imagesx[imgxi++]="/p_bottom.gif";
68 imagesx[imgxi++]="/bg/p_bottom_left.gif";
69 imagesx[imgxi++]="/bg/p_bottom_right.gif";
70 imagesx[imgxi++]="/how-many-votes-window.png";
71 imagesx[imgxi++]="/transparent.gif";
72 imagesx[imgxi++]="/buttons/table/tab_place_bid.gif";
73 imagesx[imgxi++]="/v_box_top_left.gif";
74 imagesx[imgxi++]="/v_box_top_right.gif";
75 imagesx[imgxi++]="/wizard/default_thumbnail.gif";
76 imagesx[imgxi++]="/icons/rss_button.gif";
77 imagesx[imgxi++]="/buttons/csv.gif";
78 imagesx[imgxi++]="/share-icon-16x16.gif";
79 imagesx[imgxi++]="/buttons/continue.gif";
80 imagesx[imgxi++]="/v_box_right.gif";
81 imagesx[imgxi++]="/v_box_left.gif";
82 imagesx[imgxi++]="/v_box_bottom.gif";
83 imagesx[imgxi++]="/v_box_bottom_right.gif";
84 imagesx[imgxi++]="/v_box_bottom_left.gif";
85 imagesx[imgxi++]="/chat/bidoprice.gif";
86 imagesx[imgxi++]="/buttonRight.gif";
87 imagesx[imgxi++]="/buttonLeft.gif";
88 imagesx[imgxi++]="/submitGreen.png";
89 imagesx[imgxi++]="/buttons/close.png";
90 imagesx[imgxi++]="/ajax_loader.gif";
91 imagesx[imgxi++]="/buttons/close_button_avw.gif";
92 imagesx[imgxi++]="/gauge/base_gauge4.gif";
93 imagesx[imgxi++]="/buttons/table/description.gif";
94 imagesx[imgxi++]="/auction_table_name_domain_transp_hover.png";
95 imagesx[imgxi++]="/auction_table_name_transp_hover.png";
96 imagesx[imgxi++]="/buttons/table/video.gif";
97 imagesx[imgxi++]="/minus_plus.gif";
98 imagesx[imgxi++]="/gauge/colored.gif";
99 imagesx[imgxi++]="/banners/banner_bidoprice_248x248_3.jpg";
100 imagesx[imgxi++]="/banners/banner240x240.gif";
101 imagesx[imgxi++]="/buttons/close.gif";
102 imagesx[imgxi++]="/buttons/place_bid.gif";
103 imagesx[imgxi++]="/buttons/table/placebid.gif";
104 imagesx[imgxi++]="/buttons/table/vote_up.gif";
105 imagesx[imgxi++]="/buttons/table/vote_down.gif";
106 imagesx[imgxi++]="/bido_time_watch_bg180.gif";
107 imagesx[imgxi++]="/bido_time_bg.png";
108 imagesx[imgxi++]="/bido_time_watch_bg.gif";
109 imagesx[imgxi++]="/buttons/long-button.gif";
110
111 imagesxObj = [];
112
113 // start preloading
114 for(imgxj=0; imgxj<imgxi; imgxj++)
115 {
116 imagesxObj[imgxj] = new Image();
117 imagesxObj[imgxj].src= "http://static-orig.bido.com/images"+imagesx[imgxj];
118 }
119 </script>
120
121
122 <script>
123 var msie = (function(){
124
125 var undef,
126 v = 3,
127 div = document.createElement('div'),
128 all = div.getElementsByTagName('i');
129
130 while (
131 div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->',
132 all[0]
133 );
134
135 return v > 4 ? v : undef;
136
137 }());
138
139
140 </script>
141
142 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
143 <script>window.jQuery || document.write('<script src="http://static-orig.bido.com/javascripts/jquery/jquery-1.10.2.js">\x3C/script>')</script>
144
145
146 <script type="text/javascript" src="http://static-orig.bido.com/javascripts/jquery/jquery-migrate-1.2.1.js,jquery/jquery-ui-1.10.4.custom.js,jquery/jquery.ui.autocomplete.html.js,jquery/jqDnR.js,jquery/jqalert.js,jquery/jquery.truncator.js,jquery/jquery.bgiframe.js?v=20160716g"></script>
147
148 <script type="text/javascript" src="http://static-orig.bido.com/javascripts/calendar.js,cookie.js,ajax.js,windows.js,util.js,comment.js,menu.js,autocomplete.js,login.js,floating-login.js?v=20160825aasd"></script>
149
150 <script type="text/javascript">
151 //<![CDATA[
152 cursorLoading(false);
153
154 $(document).ready(function()
155 {
156
157 $(document).bind("ajaxComplete", function() {
158 $("#loading").hide();
159 });
160
161
162
163
164 $('.top_hamburger').click(function() {
165 $('.top_nav_collapsed .top_menu').html($('.top_nav_bar .top_menu').html());
166 $('.top_nav_collapsed').toggle();
167 });
168
169 });
170
171
172 //]]>
173
174
175
176 </script>
177</head>
178
179<body class="site-body">
180<div
181 id="helpWindow" class="help-window">
182 <div class="close_button" onclick="$('#helpWindow').hide();"></div>
183 <div id="help_content" class="help-window-content"></div>
184</div>
185
186
187<div id="container">
188<div class="bg-line"><div id="body">
189 <noscript>
190 <div style="background: #28132f;text-align:center">
191 <p><strong class="comment-disclaimer">Bido uses javascript. To fully utilize the Bido you must enable your browser to accept javascript without any restriction.</strong></p>
192 </div>
193 </noscript>
194
195<div class="top_nav top_nav_bar">
196 <span class="slogan">BIDO: Domain Auctions</span>
197 <div class="top_nav_searchbox">
198 <form id="domainsearch" action="/Search" class="domainsearch">
199 <input value="" id="searchbox" name="domain" type="text" class="small input-text" onfocus="$(this).css('font-style','normal').css('background-color','white').css('color','black');" onblur="$(this).css('font-style','italic').css('background-color','#926A9F').css('color','white');" autocorrect=off>
200 <button type="submit">
201 <img src="http://static-orig.bido.com/images/icons/search-button.png" alt="Search">
202 </button>
203 </form>
204 </div>
205
206
207 <div class="top_menu">
208 <ul>
209
210
211 <li class="">
212 <a href="http://bido.com/Home"><h1>DOMAIN AUCTIONS</h1></a>
213 </li>
214
215 <li class="">
216 <a href="http://bido.com/BIN"><h1>NEW LISTINGS</h1></a>
217 </li>
218
219
220 <li class="">
221 <a href="/Parking">DOMAIN PARKING</a>
222 </li>
223
224 </ul>
225 </div>
226 <div>
227 <a href="javascript:void(0)" class="top_hamburger"><span></span><span style="box-sizing: border-box;"></span><span></span></a>
228 </div>
229
230
231
232
233</div>
234<div class="top_nav_collapsed top_nav"><div class="top_menu">
235 </div>
236</div>
237<div class="header" style="height:120px">
238 <div class="wrap">
239
240
241 <div class="logo">
242 <a href="http://bido.com/Home">
243 <img src="http://static-orig.bido.com/images/logos/bidoLogo.gif" width="108" height="46" alt="Bido Domain Auctions">
244 </a>
245 </div>
246
247 <div class="registerGreen">
248 <a href="http://bido.com/SubmitDomains"><img class="png" width="114" height="115" src="http://static-orig.bido.com/images/submitGreen.png" alt="Start Selling it's free to list!"></a>
249 </div>
250 <script type="text/javascript">
251<!--
252$(document).ready(function(){
253
254 getUserToDoList();
255
256
257});
258-->
259</script>
260<div class="login" style="padding-top:20px;">
261
262
263 <span id="notificationsCount" title="Notifications" class="notificationsCount"> </span>
264 <table class="loginBox">
265 <tr>
266 <td>
267 <div class="welcome" style="padding:15px 10px 0 0;">Welcome <b>j1982664</b>. <a href="/Logout" onmousedown="beforeLogout()">Logout</a></div>
268 </td>
269 </tr>
270 </table>
271
272</div>
273 <div style="clear:both"></div>
274 </div>
275</div>
276
277<script type="text/javascript">
278var menuTimer = null;
279//TODO: only if logged-in, only if on /Home command
280$(document).ready(function(){
281 var mybido_cmd = $.cookie('mybido_cmd');
282 if (mybido_cmd && $('#mybido_tab'))
283 $('#mybido_tab').attr('href', mybido_cmd);
284});
285
286
287</script>
288
289<div class="nav">
290 <div class="navWrap" style="clear:both;overflow: hidden;height:auto;">
291
292 <div class="navWrap auctions-right-nav" style="float: right;">
293 <div style="float:right;" class="navWrapBannerButton">
294 <div style="float: right; width: 80px; padding-right: 0.5em;">
295 <a href="javascript:void(0)" onmouseover="showMenu('settings', this)" onmouseout="hideMenu('settings')">
296 <b class="buttonPurpleb1"></b><b class="buttonPurpleb2"></b>
297 <span class="buttonPurplecontentb">
298 Settings </span>
299 <b class="buttonPurpleb2"></b><b class="buttonPurpleb1"></b>
300 </a>
301 </div>
302 <div style="z-index: 60; position: absolute; display: none; width: 132px;" class="menu" id="menu_settings" onmouseout="hideMenu(name)">
303 <span class="buttonPurpleb1"></span><span class="buttonPurpleb2"></span>
304 <div style="height: 2px; background-color: #004D78;"><!-- --></div>
305 <div style="width:132px; text-align: right;" onmouseover="showMenu('settings')">
306 <a href="http://bido.com/NotificationSettings" style="text-decoration: none;">
307 <span class="buttonPurplecontentbSub">
308 Notification Settings </span>
309 </a>
310</div><div style="width:132px; text-align: right;" onmouseover="showMenu('settings')">
311 <a href="http://bido.com/UserSettings" style="text-decoration: none;">
312 <span class="buttonPurplecontentbSub">
313 Content Settings </span>
314 </a>
315</div><div style="width:132px; text-align: right;" onmouseover="showMenu('settings')">
316 <a href="https://bido.com/SellingPreferences" style="text-decoration: none;">
317 <span class="buttonPurplecontentbSub">
318 Selling Preferences </span>
319 </a>
320</div><div style="width:132px; text-align: right;" onmouseover="showMenu('settings')">
321 <a href="https://bido.com/PayoutPreferences" style="text-decoration: none;">
322 <span class="buttonPurplecontentbSub">
323 Payout Preferences </span>
324 </a>
325</div><div style="width:132px; text-align: right;" onmouseover="showMenu('settings')">
326 <a href="https://bido.com/AutoTweet" style="text-decoration: none;">
327 <span class="buttonPurplecontentbSub">
328 AutoTweet Settings </span>
329 </a>
330</div><div style="width:132px; text-align: right;" onmouseover="showMenu('settings')">
331 <a href="https://bido.com/BuyerPreferences" style="text-decoration: none;">
332 <span class="buttonPurplecontentbSub">
333 Buyer Preferences </span>
334 </a>
335</div><div style="width:132px; text-align: right;" onmouseover="showMenu('settings')">
336 <a href="http://bido.com/PrivacyPreferences" style="text-decoration: none;">
337 <span class="buttonPurplecontentbSub">
338 Privacy Preferences </span>
339 </a>
340</div> <div style="height: 2px; background-color: #004D78;"><!-- --></div>
341 <b class="buttonPurpleb2"></b><b class="buttonPurpleb1"></b>
342 </div>
343 <div style="float: right; width: 90px; padding-right: 0.5em;">
344 <a href="javascript:void(0)" onmouseover="showMenu('payments', this)" onmouseout="hideMenu('payments')">
345 <b class="buttonPurpleb1"></b><b class="buttonPurpleb2"></b>
346 <span class="buttonPurplecontentb">
347 Balance </span>
348 <b class="buttonPurpleb2"></b><b class="buttonPurpleb1"></b>
349 </a>
350 </div>
351 <div style="z-index: 60; position: absolute; display: none; width: 120px;" class="menu" id="menu_payments" onmouseout="hideMenu(name)">
352 <span class="buttonPurpleb1"></span><span class="buttonPurpleb2"></span>
353 <div style="height: 2px; background-color: #004D78;"><!-- --></div>
354 <div style="width:120px; text-align: right;" onmouseover="showMenu('payments')">
355 <a href="https://bido.com/Payments" style="text-decoration: none;">
356 <span class="buttonPurplecontentbSub">
357 Payments </span>
358 </a>
359</div><div style="width:120px; text-align: right;" onmouseover="showMenu('payments')">
360 <a href="http://bido.com/VoteForProfitsHistory" style="text-decoration: none;">
361 <span class="buttonPurplecontentbSub">
362 Vote For Profits </span>
363 </a>
364</div><div style="width:120px; text-align: right;" onmouseover="showMenu('payments')">
365 <a href="https://bido.com/ParkingRevenues" style="text-decoration: none;">
366 <span class="buttonPurplecontentbSub">
367 Parking Revenues </span>
368 </a>
369</div><div style="width:120px; text-align: right;" onmouseover="showMenu('payments')">
370 <a href="https://bido.com/Affiliates" style="text-decoration: none;">
371 <span class="buttonPurplecontentbSub">
372 Affiliate Earnings </span>
373 </a>
374</div> <div style="height: 2px; background-color: #004D78;"><!-- --></div>
375 <b class="buttonPurpleb2"></b><b class="buttonPurpleb1"></b>
376 </div>
377 <div style="float: right; width: 130px; padding-right: 0.5em;">
378 <a href="javascript:void(0)" onmouseover="showMenu('auctions', this)" onmouseout="hideMenu('auctions')">
379 <b class="buttonPurpleb1"></b><b class="buttonPurpleb2"></b>
380 <span class="buttonPurplecontentb">
381 Buyer Control Panel </span>
382 <b class="buttonPurpleb2"></b><b class="buttonPurpleb1"></b>
383 </a>
384 </div>
385 <div style="z-index: 60; position: absolute; display: none; width: 130px;" class="menu" id="menu_auctions" onmouseout="hideMenu(name)">
386 <span class="buttonPurpleb1"></span><span class="buttonPurpleb2"></span>
387 <div style="height: 2px; background-color: #004D78;"><!-- --></div>
388 <div style="width:130px; text-align: right;" onmouseover="showMenu('auctions')">
389 <a href="http://bido.com/MyAuctions" style="text-decoration: none;">
390 <span class="buttonPurplecontentbSub">
391 My Auctions </span>
392 </a>
393</div><div style="width:130px; text-align: right;" onmouseover="showMenu('auctions')">
394 <a href="https://bido.com/Buying" style="text-decoration: none;">
395 <span class="buttonPurplecontentbSub">
396 Buying </span>
397 </a>
398</div><div style="width:130px; text-align: right;" onmouseover="showMenu('auctions')">
399 <a href="http://bido.com/Watchlist" style="text-decoration: none;">
400 <span class="buttonPurplecontentbSub">
401 My Watchlist </span>
402 </a>
403</div><div style="width:130px; text-align: right;" onmouseover="showMenu('auctions')">
404 <a href="http://bido.com/NameMatch" style="text-decoration: none;">
405 <span class="buttonPurplecontentbSub">
406 Auction Suggestions </span>
407 </a>
408</div><div style="width:130px; text-align: right;" onmouseover="showMenu('auctions')">
409 <a href="https://bido.com/BuyingNegotiations" style="text-decoration: none;">
410 <span class="buttonPurplecontentbSub">
411 Purchase Inquiries </span>
412 </a>
413</div><div style="width:130px; text-align: right;" onmouseover="showMenu('auctions')">
414 <a href="https://bido.com/DomainWatchSettings" style="text-decoration: none;">
415 <span class="buttonPurplecontentbSub">
416 Keywords Monitor </span>
417 </a>
418</div><div style="width:130px; text-align: right;" onmouseover="showMenu('auctions')">
419 <a href="http://bido.com/AuctionHistory" style="text-decoration: none;">
420 <span class="buttonPurplecontentbSub">
421 Auction History </span>
422 </a>
423</div><div style="width:130px; text-align: right;" onmouseover="showMenu('auctions')">
424 <a href="http://bido.com/BuyerQuestions" style="text-decoration: none;">
425 <span class="buttonPurplecontentbSub">
426 Questions to Seller </span>
427 </a>
428</div><div style="width:130px; text-align: right;" onmouseover="showMenu('auctions')">
429 <a href="http://bido.com/Search?m=1" style="text-decoration: none;">
430 <span class="buttonPurplecontentbSub">
431 Search Inventory </span>
432 </a>
433</div> <div style="height: 2px; background-color: #004D78;"><!-- --></div>
434 <b class="buttonPurpleb2"></b><b class="buttonPurpleb1"></b>
435 </div>
436 <div style="float: right; width: 110px; padding-right: 0.5em;">
437 <a href="javascript:void(0)" onmouseover="showMenu('my_domains', this)" onmouseout="hideMenu('my_domains')">
438 <b class="buttonPurpleb1"></b><b class="buttonPurpleb2"></b>
439 <span class="buttonPurplecontentb" style="text-decoration: none;">
440 My Domains </span>
441 <b class="buttonPurpleb2"></b><b class="buttonPurpleb1"></b>
442 </a>
443 </div>
444 <div style="z-index: 60; position: absolute; display: none; width: 150px;" class="menu" id="menu_my_domains" onmouseout="hideMenu(name)">
445 <span class="buttonPurpleb1"></span><span class="buttonPurpleb2"></span>
446 <div style="height: 2px; background-color: #004D78;"><!-- --></div>
447 <div style="width:150px; text-align: right;" onmouseover="showMenu('my_domains')">
448 <a href="https://bido.com/UserSubmissions" style="text-decoration: none;">
449 <span class="buttonPurplecontentbSub">
450 Submissions for Auction </span>
451 </a>
452</div><div style="width:150px; text-align: right;" onmouseover="showMenu('my_domains')">
453 <a href="https://bido.com/UserAuctions?last=1" style="text-decoration: none;">
454 <span class="buttonPurplecontentbSub">
455 Created Auctions </span>
456 </a>
457</div><div style="width:150px; text-align: right;" onmouseover="showMenu('my_domains')">
458 <a href="https://bido.com/Selling" style="text-decoration: none;">
459 <span class="buttonPurplecontentbSub">
460 Sales </span>
461 </a>
462</div><div style="width:150px; text-align: right;" onmouseover="showMenu('my_domains')">
463 <a href="https://bido.com/Parking" style="text-decoration: none;">
464 <span class="buttonPurplecontentbSub">
465 Domain Parking </span>
466 </a>
467</div><div style="width:150px; text-align: right;" onmouseover="showMenu('my_domains')">
468 <a href="https://bido.com/Portfolio" style="text-decoration: none;">
469 <span class="buttonPurplecontentbSub">
470 Buy-Now/Offer-pages </span>
471 </a>
472</div><div style="width:150px; text-align: right;" onmouseover="showMenu('my_domains')">
473 <a href="https://bido.com/SellingNegotiations" style="text-decoration: none;">
474 <span class="buttonPurplecontentbSub">
475 Incoming Offers </span>
476 </a>
477</div><div style="width:150px; text-align: right;" onmouseover="showMenu('my_domains')">
478 <a href="http://bido.com/UserPurchaseLinks" style="text-decoration: none;">
479 <span class="buttonPurplecontentbSub">
480 PurchaseLinks </span>
481 </a>
482</div><div style="width:150px; text-align: right;" onmouseover="showMenu('my_domains')">
483 <a href="http://bido.com/BidoPriceFeedback" style="text-decoration: none;">
484 <span class="buttonPurplecontentbSub">
485 BidoPrice Feedback </span>
486 </a>
487</div><div style="width:150px; text-align: right;" onmouseover="showMenu('my_domains')">
488 <a href="http://bido.com/SellerQuestions" style="text-decoration: none;">
489 <span class="buttonPurplecontentbSub">
490 Questions from Buyer </span>
491 </a>
492</div><div style="width:150px; text-align: right;" onmouseover="showMenu('my_domains')">
493 <a href="http://bido.com/SubmitDomains" style="text-decoration: none;">
494 <span class="buttonPurplecontentbSub">
495 Submit Domains </span>
496 </a>
497</div> <div style="height: 2px; background-color: #004D78;"><!-- --></div>
498 <b class="buttonPurpleb2"></b><b class="buttonPurpleb1"></b>
499 </div>
500 <div style="float: right; width: 90px; padding-right: 0.5em;">
501 <a href="javascript:void(0)" onmouseover="showMenu('my_profile', this)" onmouseout="hideMenu('my_profile')">
502 <b class="buttonPurpleb1"></b><b class="buttonPurpleb2"></b>
503 <span class="buttonPurplecontentb">
504 My Profile </span>
505 <b class="buttonPurpleb2"></b><b class="buttonPurpleb1"></b>
506 </a>
507 </div>
508 <div style="z-index: 60; position: absolute; display: none; width: 110px;" class="menu" id="menu_my_profile" onmouseout="hideMenu(name)">
509 <span class="buttonPurpleb1"></span><span class="buttonPurpleb2"></span>
510 <div style="height: 2px; background-color: #004D78;"><!-- --></div>
511 <div style="width:110px; text-align: right;" onmouseover="showMenu('my_profile')">
512 <a href="https://bido.com/EditProfile/j1982664" style="text-decoration: none;">
513 <span class="buttonPurplecontentbSub">
514 Edit Profile </span>
515 </a>
516</div><div style="width:110px; text-align: right;" onmouseover="showMenu('my_profile')">
517 <a href="http://bido.com/Profile/j1982664" style="text-decoration: none;">
518 <span class="buttonPurplecontentbSub">
519 My Public Profile </span>
520 </a>
521</div><div style="width:110px; text-align: right;" onmouseover="showMenu('my_profile')">
522 <a href="javascript:window.open('http://support.bido.com')" style="text-decoration: none;">
523 <span class="buttonPurplecontentbSub">
524 Support </span>
525 </a>
526</div><div style="width:110px; text-align: right;" onmouseover="showMenu('my_profile')">
527 <a href="" style="text-decoration: none;">
528 <span class="buttonPurplecontentbSub">
529 </span>
530 </a>
531</div> <div style="height: 2px; background-color: #004D78;"><!-- --></div>
532 <b class="buttonPurpleb2"></b><b class="buttonPurpleb1"></b>
533 </div>
534 </div>
535 <div style="clear: both;"><!-- --></div>
536 </div>
537
538 <div class="leftTabs">
539 <ul class="rightnav">
540 <li style="width:111px;">
541 <a style="width:100px;" href="/Home">Auctions</a></li>
542<li class="act" style="width:111px;">
543 <a id="mybido_tab" class="act" style="width:100px;" href="https://bido.com/EditProfile/j1982664">My Bido</a></li>
544
545 </ul>
546 </div>
547
548 </div>
549</div>
550<div class="content wrap" style="background:#fff">
551 <div class="breadCrumbs">
552 <div style="float: left;">
553 <a href="/Home">Home</a> / <a href="/EditProfile">My Bido</a> / <a href="/SubmitDomains">Submit Domains</a> </div>
554
555 <div style="clear: both;"></div>
556 </div>
557
558
559
560 <form id="login-popup-form" method="post" action="https://bido.com/FloatingLogin" target="floating-login-frame">
561 <div class="close_button" onclick="app.login.floating.hide()">Close</div>
562 <div class="image-holder"><img src="http://static-orig.bido.com/images/login/default.gif" alt="Bido" width="115" height="115" class="userpic png"></div>
563 <label for="email">Email Login:<input type="email" id="email" name="email" value="j1982664@nwytg.com"></label>
564 <label for="password">Password:<input type="password" id="password" name="password"></label>
565 <input type="image" id="submit-button" src="http://static-orig.bido.com/images/buttons/floating_continue_button.gif" alt="Continue">
566 <p class="links-box clearfix">
567 <a href="javascript: void(0)" class="restore-password">Forgotten Password?</a>
568 <a href="/Registration" class="sign-up">Sign up</a>
569 </p>
570</form>
571<script type="text/javascript" src="http://static-orig.bido.com/javascripts/unsaved-changes.js,jquery/history.js,jquery/tablesorter.js"></script>
572
573<script type="text/javascript">
574var unsavedChanges = null;
575$(document).ready(function() {
576 unsavedChanges = new UnsavedChanges('.unsavedChangesForm');
577 unsavedChanges.onbeforeunload();
578});
579</script>
580<link type="text/css" rel="stylesheet" media="screen" href="http://static-orig.bido.com/styles/to_checklist.css" />
581 <script type="text/javascript">
582
583 $(document).ready(function() {
584 var wnd = $('#overviewWindow');
585 if (wnd) {
586 $('body').append(wnd);
587 }
588 });
589
590 var domains = [];
591 var prices = [];
592 var adults = [];
593 var categories = [];
594
595 var maxCategoriesByDomain = 4;
596 var testFormatsPricing = {
597 'domain-reserve' : /^\s*[^,]+\s*,\s*\d+\s*$/,
598 'domain-reserve-adult' : /^\s*[^,]+\s*,\s*\d+\s*,\s*adult\s*$/,
599 'domain-adult-reserve' : /^\s*[^,]+\s*,\s*adult\s*,\s*\d+\s*$/,
600 '!' : /.?/
601 };
602
603 var testFormatsNoPricing = {
604 'domain-noreserve' : /^\s*[^,]+\s*$/,
605 'domain-noreserve-adult' : /^\s*[^,]+\s*,\s*adult\s*$/,
606 '!' : /.?/
607 };
608
609 function getDomainsAndPrices(form) {
610 domains = [];
611 prices = [];
612 adults = [];
613 var duplicates = [];
614 var errorMsgs = {};
615 var errorCount = 0;
616
617 var adv_form_domain_type = $('#adv_form_domain_type').val();//1,2,3
618
619 var pricing = adv_form_domain_type == 3 ? 'Make Offer Listing': (adv_form_domain_type == 2 ? 'BINPrice' : 'BidoPrice');
620
621 errorMsgs['domain'] = '- Domain names are incorrect:<br>%s';
622
623 errorMsgs['low_price'] = '- '+pricing+' should be greater or equal to $' +
624 9 + '<br>%s';
625
626 errorMsgs['format'] = '- '+pricing+' is specified in incorrect format:<br>%s' +
627 '<br>Please specify your '+pricing+' as follows: ' + (adv_form_domain_type == 3?'domain.com':'domain.com,500');
628
629 var maxNumberOfDomainsInAlertAtTime = 10;
630 var errorDomains = {'domain' : [], 'low_price' : [], 'format' : []};
631 var domainList = $('textarea[name=domains]').val().split('\n');
632 var msg = '';
633 var catList = [];
634 for (var i = 0; i < domainList.length; i++) {
635 if ($.trim(domainList[i]).length == 0) {
636 continue;
637 }
638 var testFormats = adv_form_domain_type==3 ? testFormatsNoPricing : testFormatsPricing;
639 for (var format in testFormats) {
640 if (testFormats[format].test(domainList[i])) {
641 break;
642 }
643 }
644
645 if (format == '!') {
646 errorDomains['format'].push(escapeHTML(domainList[i]));
647 continue;
648 }
649
650 var attrOrder = format.split('-');
651 var row = domainList[i].split(',');
652 var attr = {};
653 for (var j in attrOrder) {
654 attr[attrOrder[j]] = $.trim(row[j]);
655 }
656 attr['reserve'] = isNaN(parseInt(attr['reserve'])) ? 0 : parseInt(attr['reserve']);
657 if (adv_form_domain_type!=3 && attr['reserve'] < 9) {
658 errorDomains['low_price'].push(escapeHTML(domainList[i]));
659 continue;
660 }
661
662 attr['adult'] = (attr['adult']? 1 : 0);
663 if (attr['adult'] == 0 && categories[attr['domain']]) {
664 categories[attr['domain']] = categories[attr['domain']].replace(/(\||^)Adult(\||$)/, '|');
665 }
666
667 if (!validateDomain(attr['domain'])) {
668 errorDomains['domain'].push(escapeHTML(domainList[i]));
669 continue;
670 }
671 if ($.inArray(attr['domain'], domains) != -1 && $.inArray(attr['domain'], duplicates) == -1) {
672 duplicates.push(escapeHTML(attr['domain']));
673 continue;
674 }
675 domains.push(attr['domain']);
676 prices.push(attr['reserve']);
677 adults.push(attr['adult']);
678 catList[attr['domain']] = attr['adult']? 'Adult' : categories[attr['domain']]? categories[attr['domain']] : '';
679 }
680 categories = catList;
681
682 for (var i in errorDomains) {
683 if (errorDomains[i].length == 0) {
684 continue;
685 }
686 errorCount += errorDomains[i].length;
687 msg += '<br>' + errorMsgs[i] + '<br>';
688 msg = msg.replace('%s', ' ' + errorDomains[i].slice(0, maxNumberOfDomainsInAlertAtTime).join('<br> '));
689 }
690 if (msg) {
691 msg = 'The following domain' + ( errorCount == 1 ? ' is' : 's are') + ' incorrect:' + msg;
692 } else if (duplicates.length) {
693 msg += 'The following domains are duplicated:<br> ';
694 msg += duplicates.slice(0, maxNumberOfDomainsInAlertAtTime).join('<br> ');
695 msg += '<br>';
696 }
697 if (msg) {
698 msg += '<br>Please check your input.';
699 alert(msg, function() {$('textarea[name=domains]')[0].focus();});
700 return false;
701 }
702
703 if (domains.length == 0) {
704 alert('Please enter at least one domain name', function() {$('textarea[name=domains]')[0].focus();});
705 return false;
706 }
707 if (domains.length > 500) {
708 alert('Domain name entry field cannot contain more than 500 lines.', function() {form.domains.focus();});
709 return false;
710 }
711 return true;
712 }
713 function joinObject(obj, glue) {
714 var result = '';
715 for (var key in obj) {
716 result += glue + obj[key];
717 }
718 result = result.substr(2);
719 return result;
720 }
721
722 function submitDomains() {
723 hideWindow('overviewWindow');
724
725 closeOpenedCategorySelect();
726
727 ajax.sendRequest('domain.submit.ajax.SubmitDomains', function(response) {
728 unsavedChanges.disableCheck();
729 if (response.user_logged_out) {
730 displayWindow($('#overviewWindow'), 650, 1, true);
731 app.login.floating.show();
732 return;
733 }
734
735 var remaining = parseInt($('#submission_counter').html()) - parseInt(response.created_domains_count || 0);
736 $('#submission_counter').html(remaining);
737
738 if (response.redirect) {
739 alert(response.message, function() { document.location = response.redirect});
740 } else {
741 alert(response.message);
742 }
743 }, {
744 'user_id' : 106773,
745 'domains': domains.join(','),
746 'prices': prices.join(','),
747 'adults': adults.join(','),
748 'categories': joinObject(categories, '||')
749 });
750
751 }
752
753 function overviewDomains() {
754 var form = document.forms.domainform;
755
756
757 if (!getDomainsAndPrices(form)) {
758 return false;
759 }
760
761
762 var adv_form_currency = $('#adv_form_currency').val();
763 var adv_form_domain_type = $('#adv_form_domain_type').val();
764
765 $('#domainsList').html(
766
767 '<thead><tr style="border-bottom: 0;"><th class="domain" style="width: 190px;">Domain</th>' +
768 (adv_form_domain_type!=3?
769 ('<th style=\"width: 129px\">'+(adv_form_domain_type==2? 'BINPrice':'BidoPrice')+'</th>'):'') +
770 '<th class="category" '+(adv_form_domain_type==3?'style="width: 100%"':'')+'>Category (max 4)</th></tr></thead><tbody></tbody>'
771
772 );
773
774 for (var i in domains) {
775
776 var categoryList = "";
777 jQuery.each(categories[domains[i]].split('|'), function(index, val){
778 categoryList += '<li>'+val+'</li>';
779 });
780
781 var row = '<tr class="'+(i % 2? 'even':'odd')+'"><td class="domain" style="width: 190px;">' + domains[i];
782 row += '<div class="remove">x</div>';
783
784 if (adv_form_domain_type!=3){
785 row += '</td><td style="width: 129px;">'+currencies[adv_form_currency]['symbol'];
786 row += '<input class="price not-save" type="number" value="' + prices[i] + '">';
787 }
788
789 var categoryDiv = '<a href="javascript:void(0)" class="category_button" onclick="showCategorySelect(this); return false;">click to select</a>'
790 + '<a href="javascript:void(0)" class="category_button" onclick="closeOpenedCategorySelect(); return false;" style="display : none">save</a>'
791 + '<div class="selected_categories"><ul class="selected_categories">'+ categoryList +'</ul></div>';
792 row += '</td><td id="'+ i +'" style="max-width: 195px">';
793 row += (adults[i] ? 'adult' : categoryDiv);
794 row += '</td></tr>';
795 $('#domainsList tbody').append(row);
796 }
797 /* remove button */
798 $('#domainsList .remove').bind('click', function() {
799 var index = $(this).closest('td').attr('id');
800 $(this).closest('tr').hide();
801 delete domains[index];
802 delete prices[index];
803 delete adults[index];
804 delete categories[index];
805 });
806 /* if all items was removed - hide overview window */
807 $('#overviewWindow .remove').bind('click', function() {
808 if (!$('#overviewWindow .remove:visible').size()) {
809 hideWindow('overviewWindow');
810 $('[name=domains]').focus();
811 }
812 });
813
814 $('#domainsList .price').priceFilter().bind('blur', function() {
815 var field = $(this);
816 if (field.val() < 9) {
817 alert(
818 'Your BidoPrice must be greater than or equal to $9',
819 function() { field.focus(); }
820 );
821 } else {
822 var index = field.closest('tr').find('td:last').attr('id');
823 prices[index] = field.val();
824 }
825 });
826
827
828 displayWindow($('#overviewWindow'), 650, 1, true);
829 return true;
830 }
831
832 function editList() {
833 hideWindow('overviewWindow');
834 $(document.forms.domainform.domains).focus();
835 }
836
837 function showCategorySelect(button) {
838 closeOpenedCategorySelect();
839 var container = $(button).parent();
840 var domain = container.attr('id');
841 var checklistDivId = 'select_category_checklist';
842 container.find('.category_button').toggle();
843
844 container.append('<ul id="'+ checklistDivId +'" class="checklist"><li tabindex="0">Acronyms</li><li tabindex="1">Adult</li><li tabindex="2">Auto, Transportation</li><li tabindex="3">Business</li><li tabindex="4">Culture</li><li tabindex="5">Education</li><li tabindex="6">Entertainment</li><li tabindex="7">Financial</li><li tabindex="8">Food, Beverage</li><li tabindex="9">Geo Targeted</li><li tabindex="10">Goods</li><li tabindex="11">Hobbies</li><li tabindex="12">Holidays, Celebrations</li><li tabindex="13">Home Improvement</li><li tabindex="14">Internet, Webmaster</li><li tabindex="15">Jewelry, Fashion, Art</li><li tabindex="16">Kids</li><li tabindex="17">Legal, Politics, Religion</li><li tabindex="18">Love, Relationships</li><li tabindex="19">Medical</li><li tabindex="20">Music, Movies</li><li tabindex="21">Names</li><li tabindex="22">Novelty</li><li tabindex="23">Numbers</li><li tabindex="24">Pets, Plants</li><li tabindex="25">Reading Material</li><li tabindex="26">Real Estate</li><li tabindex="27">Search, News, Media</li><li tabindex="28">Spiritual, Wellness</li><li tabindex="29">Sports</li><li tabindex="30">Telecom</li><li tabindex="31">Travel</li><li tabindex="32">Uncategorized</li></ul>');
845
846 checklistDivId = '#'+checklistDivId;
847 $(checklistDivId).height(110);
848
849 var selected = categories[domains[domain]].split('|');
850 for (var i in selected) {
851 if (selected[i]) {
852 $('li:contains("'+selected[i]+'")', checklistDivId).addClass('checked');
853 }
854 }
855
856 var check = function(event) {
857 if (event.target.tagName == 'LI') {
858 var src = $(event.target);
859 if (src.hasClass('checked')) {
860 $(event.target).removeClass('checked');
861 } else {
862 if (-1 == maxCategoriesByDomain || $('li.checked', checklistDivId).length < maxCategoriesByDomain) {
863 $(event.target).addClass('checked');
864 }
865 }
866 }
867 };
868
869 $('li', checklistDivId).click(check).keydown(check);
870 }
871
872 function closeOpenedCategorySelect() {
873 updateCategories();
874
875 var container = $('#select_category_checklist').parent();
876 container.find('.category_button').toggle();
877 container.find('#select_category_checklist').remove();
878 }
879 function updateCategories() {
880 var container = $('#select_category_checklist').parent();
881 if (container.length == 0) {
882 return;
883 }
884 var domain = container.attr('id');
885 var list = container.find('ul.selected_categories');
886
887 list.find('li').remove();
888 var selected = [];
889 container.find('li.checked').each(function(){
890 selected.push(this.innerHTML);
891 list.append('<li>'+ this.innerHTML +'</li>')
892 });
893 categories[domains[domain]] = selected.join('|');
894 if ($.inArray('Adult', selected) != -1) {
895 adults[domain] = 1;
896 }
897 }
898 </script>
899
900 <script type="text/javascript" src="http://static-orig.bido.com/javascripts/unsaved-changes.js"></script>
901<script type="text/javascript">
902 var currencies = [{"code":"0","name":"US $","symbol":"$","symbol_utf":"$","usd_rate":"1.00000000","iso":"USD"},{"code":"1","name":"EUR ","symbol":"€","symbol_utf":".","usd_rate":"1.06000000","iso":"EUR"},{"code":"2","name":"£","symbol":"£","symbol_utf":"\u00a3","usd_rate":"1.48000000","iso":"GBP"},{"code":"3","name":"CHF ","symbol":"Fr. ","symbol_utf":"Fr. ","usd_rate":"1.14000000","iso":"CHF"},{"code":"4","name":"INR ","symbol":"INR ","symbol_utf":"INR","usd_rate":"0.01600000","iso":"INR"},{"code":"5","name":"CAD ","symbol":"CAD ","symbol_utf":"CAD ","usd_rate":"0.81000000","iso":"CAD"},{"code":"6","name":"AUD ","symbol":"AUD ","symbol_utf":"AUD ","usd_rate":"0.81000000","iso":"AUD"},{"code":"7","name":"CNY ","symbol":"¥","symbol_utf":"\u00a5","usd_rate":"0.16000000","iso":"CNY"},{"code":"8","name":"ZAR ","symbol":"R","symbol_utf":"R","usd_rate":"1.14000000","iso":"ZAR"}];
903
904 var unsavedChanges = null;
905 $(document).ready(function() {
906 var wizard_container = $('#submitted-wizard-window');
907 var wizard_settings = {
908 'state' : {
909 'steps' : ['step-1', 'step-2', 'step-3', 'step-4', 'step-5', 'step-6', 'step-7'],
910 'wizard-types' : ['wizard-type-easy-wizard', 'wizard-type-advanced-form', 'wizard-type-zip-upload'],
911 'submit-types' : ['submit-type-1', 'submit-type-2'],
912 'domain-types' : ['domain-type-1', 'domain-type-2', 'domain-type-3'],
913 'hide-prices' : ['hide-price-0', 'hide-price-1'],
914
915 'price-to-list' : ['price-to-list-no-charge', 'price-to-list-charge'],
916 'enough-credits' : ['enought-credits', 'not-enough-credits'],
917 'bin-price' : ['bin-price-0', 'bin-price'],
918 'bido-price' : ['bido-price-0', 'bido-price'],
919 'listing-format' : ['voting', 'fixprice'],
920 'submit-status' : ['not-ready-to-submit', 'ready-to-submit', 'one-submitted', 'multiple-submitted', 'authorization-is-required']
921 },
922 'error-description' : {
923 'domain' : 'Domain name is incorrect.',
924 'description' : 'Please enter description.',
925 'bido_price' : 'Your BidoPrice must be greater than or equal to ',
926 'bin_price' : 'Your Buy It Now price must be greater than or equal to ',
927 'not_enough_credits' : 'You don\'t have enough credits to make a submission.',
928 'wrong_char_in_price': 'Please enter whole dollar amounts only.'
929 },
930 'payment-authorization' : {
931 /*'credit-card' : {
932 'action' : '/CreditCard',
933 'method' : 'get',
934 'extra' : {
935 'return' : 'SubmitDomains'
936 }
937 },*/
938 'paypal' : {
939 'action' : 'https://www.paypal.com/us/cgi-bin/webscr',
940 'method' : 'post',
941 'extra' : {
942 'cmd' : '_xclick',
943 'business' : 'paypal@bido.com',
944 'currency_code' : 'USD',
945 'item_name' : 'Authorization',
946 'item_number' : 106773,
947 'custom' : 'auth',
948 'amount' : '0.1',
949 'notify_url' : 'http://bido.com/Paypal',
950 'return' : 'http://bido.com/SubmitDomains'
951 }
952 }
953 },
954 'submit-fee' : 1,
955 'submit-fee-price' : 1000000,
956 'bin-price-scale' : 1,
957 'submit-headers' : {"domain":"Domain name","bido_price":"BidoPrice","bido_price_currency":"BidoPrice Currency","bin_price":"BIN Price","bin_price_currency":"BIN Price Currency","category":"Categories","domain_image":"Image","with_content":"WithContent","subtitle":"Subtitle","description":"Description","video":"Video","start_at_bidoprice":"StartAtBidoprice","source_revenue":"Source of revenue","average_revenue":"Average revenue","average_revenue_interval":"Revenue period"},
958 'minimal-bido-price' : 9,
959 'max-categories' : 4,
960 'user-bido-credits-amount' : 0,
961 'user-cc-approved' : 0,
962 'user-id' : 106773,
963 'image-upload-uri' : 'domain.submit.ajax.Wizard/UploadImage',
964 'csv-file-upload-uri' : 'domain.submit.ajax.Wizard/UploadCSV',
965 'submit-csv-file-uri' : 'domain.submit.ajax.Wizard/SubmitUploadedCSV',
966 'uploaded-image-uri' : '/images/upload/domains/73x62/',
967 'currency_symbol' : '$',
968 'domain-submission-uri' : 'domain.submit.ajax.Wizard/Wizard',
969 'file-upload-save-changes-uri' : 'domain.submit.ajax.Wizard/SaveChanges',
970 'advanced-form-submission-uri' : 'domain.submit.ajax.SubmitDomains',
971 'download-csv-uri' : 'domain.submit.ajax.Wizard/WizardDataAsFile',
972 'default-category' : 'Uncategorized',
973 'price-format' : /^([0-9]*(\.0{0,2})?)?$/,
974 'can-submit-to-users' : 0 };
975
976 $('.submit-steps-navigator .navigator-item', wizard_container).bind('click', function(e) {
977 if ($(this).hasClass('disabled')) {
978 e.stopImmediatePropagation();
979 }
980 });
981 if (wizard_settings['can-submit-to-users']) {
982 window.popupSearch = function (url) {
983 ajax.sendRequest(url, function(response) {
984 $('.popupTable').html(response.content);
985 }, {
986 'search' : $('#pSearch').val(),
987 'exclude': wizard_settings['user-id']
988 });
989 };
990
991 window.selectUser = function (params) {
992 var wizard_type = wizard_container.intersectClass(wizard_settings['state']['wizard-types']);
993 $('.user').html('<a href="/ManageProfile?id=' + params.id + '">' + params.fullName + '</a>');
994 $(wizard_container).data('toUser', params.id);
995 $(wizard_container).data('bidoCredits', params.bidoCredits);
996 setValue($('[name='+wizard_type+'-submit-to]', wizard_container), 'another user').click();
997 $('#selectUserWindow').hide();
998 }
999 }
1000 /* Utils */
1001 function getValue(obj) {
1002 var value = null;
1003 switch (obj.attr('type')) {
1004 case 'checkbox' :
1005 value = obj.attr('checked') ? 1 : 0;
1006 break;
1007 case 'radio' :
1008 var selector = '[name=' + obj.attr('name') +'][type=radio]:checked';
1009 value = $(selector, wizard_container).val();
1010 break;
1011 default : value = obj.val();
1012 }
1013 return value;
1014 }
1015 function setValue(obj, val) {
1016 switch (obj.attr('type')) {
1017 case 'checkbox' :
1018 obj.attr('checked', val ? false : true);
1019 break;
1020 case 'radio' :
1021 var selector = '[type=radio][name=' + obj.attr('name') + '][value=' + val + ']';
1022 obj = $(selector, wizard_container).attr('checked', true);
1023 break;
1024 default :
1025 obj.val(val || '');
1026 }
1027 return obj;
1028 }
1029
1030 jQuery.serializeToCSV = function(fields) {
1031 var csv_headers = [], csv_fields = [];
1032 function escapeCSV(str) {
1033 return '"' + str.split('"').join('""').split("\n").join(' ') + '"';
1034 }
1035 for (var i in fields) {
1036 csv_headers.push(escapeCSV(fields[i]));
1037 csv_fields.push(escapeCSV('' + getValue(jQuery('[name=' + i + ']', wizard_container))));
1038 }
1039
1040 return csv_headers.join(',') + '\n' + csv_fields.join(',');
1041 };
1042 jQuery.intersect = function(a, b) {
1043 var r = [];
1044 for (var i in a) {
1045 if (jQuery.inArray(a[i], b) != -1) {
1046 r.push(a[i]);
1047 }
1048 }
1049 return r;
1050 };
1051 jQuery.intersectClass = function(classes, b) {
1052 return this.intersect(classes.split(' '), b).join(' ');
1053 };
1054 jQuery.fn.intersectClass = function(classes) {
1055 return jQuery.intersectClass(this.attr('class'), classes);
1056 };
1057 jQuery.objectToString = function(object) {
1058 var strings = [], val;
1059 for (var i in object) {
1060 if (typeof object[i] == 'object') {
1061 val = jQuery.objectToString(object[i]);
1062 } else if (isNaN(parseInt(object[i])) || parseInt(object[i]) != object[i]){ // int or string
1063 val = '"' + ('' + object[i]).replace(/"/g, '\\"') + '"';
1064 } else {
1065 val = parseInt(object[i]);
1066 }
1067 strings.push('"' + ('' + i).replace(/"/g, /\"/) + '":' + val);
1068 }
1069 return ('{' + strings.join(',') + '}').replace(/\n/g, '\\n');
1070 };
1071
1072 wizard_container.switchToClass = function(src) {
1073 var states = wizard_settings['state'];
1074 var classes = [];
1075 var tmp;
1076 var new_state = '';
1077 var _class = (typeof src == 'object' ? $(src).attr('class') : src);
1078
1079 for (var i in states) {
1080 if (tmp = jQuery.intersectClass(_class, states[i])) {
1081 new_state += tmp;
1082 classes = jQuery.merge(classes, states[i]);
1083 }
1084 }
1085 if (typeof src == 'object' && $(src).attr('type') == 'checkbox') { // checkbox - trigger states
1086 classes = jQuery.intersectClass(_class, classes).split(' ');
1087 new_state = classes[$(src).attr('checked') ? 1 : 0];
1088 }
1089
1090 this.removeClass(classes.join(' ')).addClass(new_state);
1091 return this;
1092 };
1093
1094 wizard_container.checkState = function(state) {
1095 return wizard_container.intersectClass([state]) ? true : false;
1096 };
1097
1098 wizard_container.lockSubmission = function() {
1099 return $('.submit-link:not(.disabled)', wizard_container).addClass('disabled').size() ? true : false;
1100 };
1101
1102 wizard_container.unlockSubmission = function() {
1103 return $('.submit-link.disabled', wizard_container).removeClass('disabled').size() ? true : false;
1104 };
1105
1106 wizard_container.switchToSubmissionResult = function() {
1107 var created_domains_count = wizard_container.data('created_domains_count');
1108 if (!created_domains_count) {
1109 return;
1110 }
1111
1112 var _class = wizard_settings['state']['submit-status'][created_domains_count == 1 ? 2 : 3]; //'one-submitted', 'multiple-submitted'
1113 wizard_container.switchToClass(_class);
1114
1115 $('.submit-steps-navigator:visible .navigator-item', wizard_container)
1116 .addClass('disabled').filter(':last').removeClass('disabled').click(); // go to last step
1117 $('.popup-window:not(#submitted-wizard-window)').hide();
1118
1119
1120 if (created_domains_count == 1){
1121 if (wizard_container.checkState('domain-type-3')){
1122 $('#one-submitted').hide();
1123 $('#one-submitted-bin').show();
1124 }
1125 else{
1126 $('#one-submitted').show();
1127 $('#one-submitted-bin').hide();
1128 }
1129 }
1130 else {
1131 var adv_form_domain_type = $('#adv_form_domain_type').val();
1132 if (adv_form_domain_type==2 || adv_form_domain_type==3){
1133 $(".multiple-submitted-link-bin").show();
1134 $(".multiple-submitted-link").hide();
1135 }
1136 else {
1137
1138 $(".multiple-submitted-link").show();
1139 $(".multiple-submitted-link-bin").hide();
1140 }
1141 }
1142
1143
1144 };
1145
1146 /* Categories methods */
1147 wizard_container.resetCategories = function() {
1148 $('#wizard-category-checklist li', wizard_container).removeClass('checked')
1149 .filter(':contains(' + wizard_settings['default-category'] + ')').addClass('checked');
1150 };
1151 wizard_container.serializeCategories = function() {
1152 var unserializedCategories = [];
1153 $('#wizard-category-checklist li.checked', wizard_container).each(function() {
1154 unserializedCategories.push($.trim($(this).text()));
1155 });
1156 return unserializedCategories.join(',');
1157 };
1158 wizard_container.unserializeCategories = function(serializedCategories) {
1159 var unserializedCategories = serializedCategories.split(',');
1160 for (var i in unserializedCategories) {
1161 $('#wizard-category-checklist li:contains(' +
1162 $.trim(unserializedCategories[i]) + ')', wizard_container).addClass('checked');
1163 }
1164 if (unserializedCategories.length > 1) {
1165 $('#wizard-category-checklist li:contains(' + wizard_settings['default-category'] + ')', wizard_container).removeClass('checked');
1166 }
1167 };
1168
1169 wizard_container.loadState = function() {
1170 var state = $.cookie('submission-wizard-state') || '';
1171 $.cookie('submission-wizard-state', null);
1172 if (!state) {
1173 for (var i = 0; $.cookie('submission-wizard-state-' + i); i++) {
1174 state += $.cookie('submission-wizard-state-' + i);
1175 $.cookie('submission-wizard-state-' + i, null);
1176 }
1177 }
1178 try {
1179 if (state) {
1180 eval('state = ' + state);
1181 }
1182 } catch(err) {
1183 state = null;
1184 }
1185 return state;
1186 };
1187
1188 wizard_container.saveState = function(state) {
1189 var limit = Math.ceil(state.length / 1024);
1190 for (var i = 0; i < limit; i++) {
1191 $.cookie('submission-wizard-state-' + i, state.substring(0, 1024));
1192 state = state.substring(1024);
1193 }
1194 };
1195
1196 wizard_container.getState = function() {
1197 var state = {};
1198 try {
1199 //oEditors['description'].saveHTML();
1200 for(var instanceName in CKEDITOR.instances)
1201 CKEDITOR.instances[instanceName].updateElement();
1202 } catch(err) {}
1203 closeOpenedCategorySelect();
1204
1205 $('[name=category]', this).val(this.serializeCategories());
1206
1207 $('input,textarea,select', this).filter(':not(.not-save)').each(function() {
1208 state[$(this).attr('name')] = getValue($(this));
1209 });
1210 state['domains_hash'] = this.data('domains_hash') || 0;
1211 state['advanced_form'] = {'categories' : categories};
1212 return state;
1213 };
1214 wizard_container.setState = function(state) {
1215 $('input,textarea,select', this).filter(':not(.not-save)').each(function() {
1216 if (typeof state[$(this).attr('name')] != 'undefined' && state[$(this).attr('name')] !== null) {
1217 var obj = setValue($(this), state[$(this).attr('name')]);
1218 obj.click();
1219 }
1220 });
1221 this.unserializeCategories('' + state['category']);
1222 if (state['domains_hash']) {
1223 this.data('domains_hash', state['domains_hash']);
1224 }
1225 try {
1226 categories = state['advanced_form'] && state['advanced_form']['categories'] || [];
1227 if (oEditors && oEditors['description']) {
1228 oEditors['description'].setEditorHTML(state['description'] || '');
1229 }
1230 } catch(err) {}
1231 };
1232 wizard_container.resetState = function() {
1233 /* reset all inputs */
1234 $('form', wizard_container)[0].reset();
1235 for (var i in wizard_settings['state']) {
1236 this.switchToClass(wizard_settings['state'][i][0]);
1237 }
1238 try {
1239 if (oEditors && oEditors['description']) {
1240 oEditors['description'].setEditorHTML('');
1241 }
1242 } catch(err) {}
1243 this.resetCategories();
1244 $('.submit-steps-navigator .navigator-item', this).removeClass('disabled')
1245 .filter(':last-child').addClass('disabled');
1246 //$('.wizard-type-easy-wizard .domain-image-dummy', this).hide();
1247
1248 this.removeData('domains_hash').removeData('zip-upload-domains').removeData('created_domains_count');
1249 wizard_container.history.save($('.submit-steps-navigator .navigator-item:first', this));
1250 wizard_container.unlockSubmission();
1251 };
1252 wizard_container.switchToStepWithItem = function(item) {
1253 if (typeof item == 'string') {
1254 item = $(item, this);
1255 }
1256 item = item.closest('.submit-steps-content,.navigator-item');
1257
1258 $('.submit-steps-navigator:visible .navigator-item.' + item.intersectClass(wizard_settings['state']['steps'])).click();
1259 };
1260
1261 /* Validate methods */
1262 wizard_container.validator = {};
1263 wizard_container.validator.domain = function(params, callback_func) {
1264 if (!validateDomain(params['domain'])) {
1265 alert(wizard_settings['error-description']['domain'], callback_func);
1266 return false;
1267 }
1268 return true;
1269 };
1270 wizard_container.validator.bido_price = function(params, callback_func) {
1271 if (!wizard_container.checkState('domain-type-3') && params['bido_price'] < wizard_settings['minimal-bido-price']) {
1272 alert(wizard_settings['error-description']['bido_price'] + wizard_settings['currency_symbol'] + wizard_settings['minimal-bido-price'] + '.', callback_func);
1273 return false;
1274 }
1275 return true;
1276 };
1277 wizard_container.validator.bin_price = function(params, callback_func) {
1278 if (params['bin_price'] && params['bin_price'] < params['min_bin_price']) {
1279 alert(wizard_settings['error-description']['bin_price'] + wizard_settings['currency_symbol'] + params['min_bin_price'] + '.', callback_func);
1280 return false;
1281 }
1282 return true;
1283 };
1284 wizard_container.validator.description = function(params, callback_func) {
1285 if ($.trim(params['description']).length == 0) {
1286 alert(wizard_settings['error-description']['description'], callback_func);
1287 return false;
1288 }
1289 return true;
1290 };
1291
1292 /* Controls */
1293 $('.submit-steps-navigator .navigator-item,' +
1294 '.submit-steps-holder .wizard-types,'+
1295 '.submit-steps-holder input.domain-types,' +
1296 '.submit-steps-holder input.submit-types,' +
1297 '.submit-steps-holder input.hide-prices', wizard_container).bind('click change', function() {
1298 if (!$(this).hasClass('disabled')) {
1299 wizard_container.switchToClass(this);
1300 }
1301 });
1302
1303
1304
1305 $('.submit-steps-holder input.domain-type-1', wizard_container).bind('click', function() {
1306 var bido_price_field = $('[name=bido_price]', wizard_container);
1307 var bin_price_field = $('[name=bin_price]', wizard_container);
1308 bido_price_field.parent().css("display", "block");
1309 bin_price_field.parent().css("display", "none");
1310 bido_price_field.focus();
1311
1312 $('#one-submitted-link').prop("href", '/UserDomains');
1313 $('#one-submitted-link').text('Submitted Domains');
1314 });
1315
1316
1317
1318 $('.submit-steps-holder input.domain-type-2', wizard_container).bind('click', function() {
1319 var bido_price_field = $('[name=bido_price]', wizard_container);
1320 var bin_price_field = $('[name=bin_price]', wizard_container);
1321 bido_price_field.parent().css("display", "block");
1322 bin_price_field.parent().css("display", "block");
1323 if ((""+bido_price_field.val()).length!=0)
1324 bin_price_field.focus();
1325 else
1326 bido_price_field.focus();
1327 $('#one-submitted-link').prop("href", '/UserDomains');
1328 $('#one-submitted-link').text('Submitted Domains');
1329 });
1330
1331
1332 $('.submit-steps-holder input.domain-type-3', wizard_container).bind('click', function() {
1333 var bido_price_field = $('[name=bido_price]', wizard_container);
1334 var bin_price_field = $('[name=bin_price]', wizard_container);
1335 bido_price_field.parent().css("display", "none");
1336 bin_price_field.parent().css("display", "block");
1337 bin_price_field.focus();
1338
1339 $('#one-submitted-link').prop("href", '/Portfolio');
1340 $('#one-submitted-link').text('Buy-Now/Offer-pages');
1341
1342 });
1343
1344
1345
1346 /* Buttons */
1347 $('.close-button', wizard_container).click(function() {
1348 wizard_container.hide();
1349 $('.popup-window').hide();
1350 });
1351
1352 /* "<< Prev" button */
1353 $('.navigation-buttons .prev-step-button', wizard_container).bind('click', function() {
1354 var _class = wizard_container.intersectClass(wizard_settings['state']['steps']);
1355 var step = $.inArray(_class, wizard_settings['state']['steps']);
1356 for (var i = step - 1; wizard_settings['state']['steps'][i]; i--) {
1357 var prev_step = $('.submit-steps-navigator .' +
1358 wizard_settings['state']['steps'][i] + ':visible', wizard_container);
1359 if (prev_step.filter(':not(.disabled)').size()) {
1360 prev_step.click();
1361 return;
1362 }
1363 }
1364 });
1365 /* "Next >>" button */
1366 $('.navigation-buttons .next-step-button', wizard_container).bind('click', function() {
1367 var _class = wizard_container.intersectClass(wizard_settings['state']['steps']);
1368 var step = $.inArray(_class, wizard_settings['state']['steps']);
1369 for (var i = step + 1; wizard_settings['state']['steps'][i]; i++) {
1370 var next_step = $('.submit-steps-navigator .' +
1371 wizard_settings['state']['steps'][i] + ':visible', wizard_container);
1372 if (next_step.filter(':not(.disabled)').size()) {
1373 next_step.click();
1374 return;
1375 }
1376 }
1377 });
1378
1379 function calculatePrices() {
1380 var bido_price = (wizard_container.checkState('domain-type-1') || wizard_container.checkState('domain-type-2')) && $('[name=bido_price]', wizard_container).val() || 0;
1381 var bin_price = (wizard_container.checkState('domain-type-2') || wizard_container.checkState('domain-type-3')) && $('[name=bin_price]', wizard_container).val() || 0;
1382
1383 var bin_price_currency = $('#bin_price_currency').val() || 0;
1384 var bido_price_currency = $('#bido_price_currency').val() || 0;
1385
1386 var domain_field = $('[name=domain]', wizard_container).val();
1387 /* Calculate price to list */
1388 var cost = 0;
1389 if (bido_price > wizard_settings['submit-fee-price']) {
1390 cost += wizard_settings['submit-fee'];
1391 }
1392 if (domain_field.indexOf(".")>20||domain_field.indexOf(".info")>16||domain_field.indexOf(".biz")>16||domain_field.indexOf(".org")>16|| domain_field.indexOf("xn--")==0)
1393 cost += 1;
1394 return {
1395 bido_price: bido_price,
1396 bido_price_currency: bido_price_currency,
1397 bin_price: bin_price,
1398 bin_price_currency: bin_price_currency,
1399 bido_credits: cost
1400 };
1401 }
1402
1403 /* Listing info step (easy wizard - step 6) */
1404 $('.submit-steps-navigator.wizard-type-easy-wizard .navigator-item.confirm-step', wizard_container).bind('click', function() {
1405 var prices = calculatePrices();
1406 /* Copy bido price to info field */
1407 $('.item-name', wizard_container).text($('[name=domain]', wizard_container).val());
1408 $('.bido-price-amount', wizard_container).text(prices.bido_price);
1409 $('.bin-price-amount', wizard_container).text(prices.bin_price);
1410
1411 $('#bido-price-currency', wizard_container).html( currencies[prices.bido_price_currency]['iso'] + ' ');
1412 $('#bin-price-currency', wizard_container).html( currencies[prices.bin_price_currency]['iso'] + ' ');
1413
1414 var _class = wizard_settings['state']['bin-price'][prices.bin_price ? 1 : 0];
1415 wizard_container.switchToClass(_class);
1416 var _class = wizard_settings['state']['bido-price'][prices.bido_price ? 1 : 0];
1417 wizard_container.switchToClass(_class);
1418 var _classShow = wizard_settings['state']['listing-format'][prices.bido_price ? 0 : 1];
1419 var _classHide = wizard_settings['state']['listing-format'][prices.bido_price ? 1 : 0];
1420
1421 $('.submit-steps-holder .listing-format span.'+_classHide, wizard_container).hide();
1422 $('.submit-steps-holder .listing-format span.'+_classShow, wizard_container).show();
1423
1424 $('.wizard-type-easy-wizard .price-to-list', wizard_container).text(prices.bido_credits == 0 ? 'Free' : prices.bido_credits + " Bido Credit"+(prices.bido_credits>1?"s":"") );
1425 var _class = wizard_settings['state']['price-to-list'][prices.bido_credits ? 1 : 0];
1426 wizard_container.switchToClass(_class);
1427
1428 var _class = wizard_settings['state']['enough-credits'][!prices.bido_credits || wizard_settings['user-bido-credits-amount'] >= prices.bido_credits ? 0 : 1];
1429 wizard_container.switchToClass(_class);
1430
1431
1432 });
1433
1434 $('.wizard-type-easy-wizard>.confirm-step [name=wizard-type-easy-wizard-submit-to]', wizard_container).bind('click change', function() {
1435 if (getValue($(this)) == 'myself') {
1436 $('.wizard-type-advanced-form>.confirm-step .user-not-enough-credits').hide();
1437 $('.wizard-type-advanced-form .confirm-step .submit-link').show();
1438 $('.submit-steps-navigator.wizard-type-easy-wizard .navigator-item.confirm-step', wizard_container).click();
1439 } else if (getValue($(this)) == 'another user') {
1440 if (!wizard_container.data('toUser')) {
1441 $('.wizard-type-easy-wizard .confirm-step .select-user', wizard_container).click();
1442
1443 } else {
1444 $('.user-credits-amount').text(wizard_container.data('bidoCredits'));
1445 var prices = calculatePrices();
1446 /* Copy bido price to info field */
1447 $('.item-name', wizard_container).text($('[name=domain]', wizard_container).val());
1448 $('.bido-price-amount', wizard_container).text(prices.bido_price);
1449 $('.bin-price-amount', wizard_container).text(prices.bin_price);
1450 $('.wizard-type-easy-wizard .price-to-list', wizard_container).text(prices.bido_credits == 0 ? 'Free' : prices.bido_credits +" Bido Credit"+(prices.bido_credits>1?"s":""));
1451 var _class = wizard_settings['state']['price-to-list'][prices.bido_credits ? 1 : 0];
1452 wizard_container.switchToClass(_class);
1453 var _class = wizard_settings['state']['enough-credits'][0];
1454 wizard_container.switchToClass(_class);
1455 wizard_container.switchToClass(wizard_settings['state']['submit-status'][_class ? 0 : 1]);
1456 if (prices.bido_credits <= wizard_container.data('bidoCredits')) {
1457 $('.wizard-type-easy-wizard>.confirm-step .user-not-enough-credits').hide();
1458 $('.wizard-type-easy-wizard>.confirm-step .submit-link').show();
1459 } else {
1460 $('.wizard-type-easy-wizard>.confirm-step .user-not-enough-credits').show();
1461 $('.wizard-type-easy-wizard>.confirm-step .submit-link').hide();
1462 }
1463 }
1464 }
1465 });
1466
1467 /* Update user credits amount info */
1468 $('.submit-steps-navigator .navigator-item.confirm-step', wizard_container).bind('click', function() {
1469 $('.user-credits-amount', wizard_container).text(wizard_settings['user-bido-credits-amount']);
1470 });
1471
1472 /* Check fields when user go to next step */
1473 $('.submit-steps-navigator.wizard-type-easy-wizard .navigator-item', wizard_container)
1474 .filter('.step-4,.step-5,.step-6').bind('click', function() {
1475 var _class = wizard_container.intersectClass(wizard_settings['state']['steps']);
1476 var step = $.inArray(_class, wizard_settings['state']['steps']);
1477 if (step >= 3) {
1478 var domain_field = $('[name=domain]', wizard_container);
1479 if (domain_field.val() && domain_field.val().length>0)
1480 domain_field.val(jQuery.trim(domain_field.val()));
1481 if (!wizard_container.validator.domain({'domain': domain_field.val()}, function () {
1482 domain_field.focus();
1483 })) {
1484 wizard_container.switchToStepWithItem(domain_field);
1485 return;
1486 }
1487 if (step == 3){
1488 var domain_field_val = domain_field.val();
1489 if (domain_field_val.indexOf('.')>20 || domain_field_val.indexOf(".info")>16|| domain_field_val.indexOf(".net")>16 || domain_field_val.indexOf(".biz")>16 || domain_field_val.indexOf(".org")>16 || domain_field_val.indexOf(".eu")>16 || domain_field_val.indexOf("xn--")==0) {
1490 alert("Note: This domain name does not fulfill Bido's current requirements for free submission. 1 Bido Credit would be required in order to list it.", function() {
1491 domain_field.focus();
1492 });
1493 return;
1494 }
1495
1496
1497 //
1498 $('#wizard_title_dn').html(domain_field_val+' - ');
1499 }
1500 try {
1501 //oEditors['description'].saveHTML();
1502 for(var instanceName in CKEDITOR.instances)
1503 CKEDITOR.instances[instanceName].updateElement();
1504 } catch(err) {}
1505 var description_field = $('[name=description]', wizard_container);
1506 if (!wizard_container.validator.description({'description': description_field.val()}, function () {
1507 try {
1508 oEditors['description']._focusWindow();
1509 } catch(err) {}
1510 })) {
1511 wizard_container.switchToStepWithItem(description_field);
1512 return;
1513 }
1514 }
1515 if (step >= 5) {
1516 var bidoprice_field = $('[name=bido_price]', wizard_container);
1517 if (!wizard_container.validator.bido_price({'bido_price': bidoprice_field.val()}, function () {
1518 bidoprice_field.focus();
1519 })) {
1520 wizard_container.switchToStepWithItem(bidoprice_field);
1521 return;
1522 }
1523
1524 var bin_price_field = $('[name=bin_price]', wizard_container);
1525 var min_bin_price = Math.ceil(bidoprice_field.val() * wizard_settings['bin-price-scale']);
1526 if (wizard_container.checkState('domain-type-2') && !wizard_container.validator.bin_price({'bin_price': bin_price_field.val(), 'min_bin_price': min_bin_price}, function () {
1527 bin_price_field.focus();
1528 })) {
1529 wizard_container.switchToStepWithItem(bin_price_field);
1530 return;
1531 }
1532
1533
1534 }
1535
1536
1537 if (step == 7){
1538 /*if (wizard_container.checkState('domain-type-3')){
1539 $('#one-submitted').hide();
1540 $('#one-submitted-bin').show();
1541 }
1542 else{
1543 $('#one-submitted').show();
1544 $('#one-submitted-bin').hide();
1545 }
1546 */
1547
1548 if (wizard_container.checkState('domain-type-3')){
1549 $("#one-submitted-link-bin").show();
1550 $("#one-submitted-link").hide();
1551 }
1552 else {
1553 $("#one-submitted-link").show();
1554 $("#one-submitted-link-bin").hide();
1555 }
1556 }
1557
1558
1559 });
1560
1561 $('.submit-steps-navigator.wizard-type-easy-wizard .navigator-item', wizard_container)
1562 .filter('.step-1,.step-2,.step-3').bind('click', function() {
1563 $('#wizard_title_dn').html('');
1564 });
1565
1566
1567 function countSubmitBidoCreditsAmount() {
1568 var credits_cost = 0;
1569 for (var i in prices) {
1570 if (prices[i] > wizard_settings['submit-fee-price']) {
1571 credits_cost += wizard_settings['submit-fee'];
1572 }
1573 }
1574 return credits_cost;
1575 }
1576
1577 /* Confirm info step (advanced form) */
1578 $('.submit-steps-navigator.wizard-type-advanced-form .navigator-item.confirm-step', wizard_container).bind('click', function() {
1579 if(!overviewDomains()) { // old function for checking domains
1580 wizard_container.switchToStepWithItem('[name=domains]');
1581 } else {
1582 $('#domainsList .remove').bind('click', function() {
1583 if (!$('#domainsList .remove:visible').size()) {
1584 wizard_container.switchToStepWithItem('[name=domains]');
1585 }
1586 });
1587 if (prices.length == 1) {
1588 $('.wizard-type-advanced-form .s').hide();
1589 } else {
1590 $('.wizard-type-advanced-form .s').show();
1591 }
1592 var credits_cost = countSubmitBidoCreditsAmount();
1593 var _class = !credits_cost || wizard_settings['user-bido-credits-amount'] >= credits_cost ? 0 : 1;
1594 wizard_container.switchToClass(wizard_settings['state']['enough-credits'][_class]);
1595 wizard_container.switchToClass(wizard_settings['state']['submit-status'][_class ? 0 : 1]);
1596 $('.wizard-type-advanced-form .price-to-list', wizard_container).text(credits_cost == 0 ? 'Free' : credits_cost+ " Bido Credit"+(credits_cost>1?"s":""));
1597 }
1598 });
1599
1600 $('.select-user', wizard_container).bind('click', function () {
1601 openWindow('selectUserWindow', 'http://bido.com/SelectUserWindow?exclude=' + wizard_settings['user-id'], 650, 500, true);
1602 });
1603
1604 $('.wizard-type-advanced-form>.confirm-step [name=wizard-type-advanced-form-submit-to]', wizard_container).bind('click change', function() {
1605 var credits_cost = countSubmitBidoCreditsAmount();
1606 if (getValue($(this)) == 'myself') {
1607 var _class = !credits_cost || wizard_settings['user-bido-credits-amount'] >= credits_cost ? 0 : 1;
1608 wizard_container.switchToClass(wizard_settings['state']['enough-credits'][_class]);
1609 wizard_container.switchToClass(wizard_settings['state']['submit-status'][_class ? 0 : 1]);
1610 $('.wizard-type-advanced-form .confirm-step .user-not-enough-credits').hide();
1611 $('.user-credits-amount', wizard_container).text(wizard_settings['user-bido-credits-amount']);
1612 } else if (getValue($(this)) == 'another user') {
1613 wizard_container.switchToClass(wizard_settings['state']['enough-credits'][0]);
1614 wizard_container.switchToClass(wizard_settings['state']['submit-status'][0]);
1615 if (!$(wizard_container).data('toUser')) {
1616 $('.wizard-type-advanced-form .confirm-step .select-user', wizard_container).click();
1617
1618 } else {
1619 var availableBidoCredits = $(wizard_container).data('bidoCredits');
1620 $('.user-credits-amount', wizard_container).text(availableBidoCredits);
1621 var _class = availableBidoCredits >= credits_cost ? 0 : 1;
1622 wizard_container.switchToClass(wizard_settings['state']['submit-status'][_class ? 0 : 1]);
1623 if (_class == 0) {
1624 $('.wizard-type-advanced-form .confirm-step .user-not-enough-credits').hide();
1625 } else {
1626 $('.wizard-type-advanced-form .confirm-step .user-not-enough-credits').show();
1627 }
1628 }
1629 }
1630 });
1631
1632 /* remove BIN link */
1633 $('.submit-steps-holder .remove-bin', wizard_container).bind('click', function() {
1634 wizard_container.switchToStepWithItem($('[name=bin_price]', wizard_container).val(''));
1635 });
1636
1637 /* Save wizard window state. (Buy credits link) */
1638 $('.submit-steps-holder .not-enough-credits', wizard_container).bind('click', function() {
1639 wizard_container.saveState($.objectToString(wizard_container.getState()));
1640 });
1641
1642 /* New submission link */
1643 $('.submit-steps-holder .new-submission', wizard_container).bind('click', function() {
1644 var wizard_type = wizard_container.intersectClass(wizard_settings['state']['wizard-types']);
1645 wizard_container.resetState();
1646 $('.wizard-types.' + wizard_type + ' input', wizard_container).click();
1647 });
1648
1649 /* Download CSV link */
1650 $('.submit-steps-holder .download-csv', wizard_container).bind('click', function() {
1651 unsavedChanges.disableCheck();
1652 wizard_container.getState();
1653 $('<textarea>').attr({'name' : 'csv'}).val($.serializeToCSV(wizard_settings['submit-headers']))
1654 .appendTo('<form>').parent().attr({'action' : wizard_settings['download-csv-uri'], 'method' : 'POST'})
1655 .appendTo('body').submit().remove();
1656 setTimeout('unsavedChanges.enableCheck()', 0);
1657 });
1658
1659 /* Check payment-authorization before submit domain(s) */
1660 $('.submit-link', wizard_container).bind('click', function(e) {
1661 if (true || wizard_settings['user-cc-approved']) {
1662 return;
1663 }
1664 e.preventDefault();
1665 e.stopImmediatePropagation();
1666 unsavedChanges.disableCheck();
1667 displayWindow($('.authorization-window'), 450, 1, true);
1668 });
1669
1670 /* Easy wizard submit link handler (validate & submit form data) */
1671 $('.submit-steps-holder .submit-link-easy-wizard', wizard_container).bind('click', function() {
1672 /* Converts categories, description */
1673
1674 try {
1675 //oEditors['description'].saveHTML();
1676 for(var instanceName in CKEDITOR.instances)
1677 CKEDITOR.instances[instanceName].updateElement();
1678 } catch(err) {}
1679 $('[name=category]', wizard_container).val(wizard_container.serializeCategories());
1680
1681 /* Check fields */
1682 /* Check description */
1683 if ($.trim($('[name=description]', wizard_container).val()).length == 0) {
1684 wizard_container.switchToStepWithItem('[name=description]');
1685 alert(wizard_settings['error-description']['description'], function() {
1686 try {
1687 oEditors['description']._focusWindow();
1688 } catch(err) {}
1689 });
1690 return;
1691 }
1692
1693 /* Validate domain name */
1694 if (!validateDomain($('[name=domain]', wizard_container).val())) {
1695 wizard_container.switchToStepWithItem('[name=domain]');
1696 alert(wizard_settings['error-description']['domain'], function() {
1697 $('[name=domain]', wizard_container).focus();
1698 });
1699 return;
1700 }
1701
1702 /* Check Average revenue */
1703 var average_revenue_field = $('[name=average_revenue]', wizard_container);
1704 var revenue_interval_field = $('[name=average_revenue_interval]', wizard_container);
1705 var interval_value = ['day', 'week', 'month', 'year'];
1706 if (average_revenue_field.val() != '' && isNaN(average_revenue_field.val())) {
1707 wizard_container.switchToStepWithItem(average_revenue_field);
1708 alert("Average revenue is not number", function() {
1709 average_revenue_field.focus();
1710 });
1711 return;
1712 }
1713
1714 /* Check BidoPrice amount */
1715 var price_field = $('[name=bido_price]', wizard_container);
1716 if (!wizard_container.checkState('domain-type-3') && ((price_field.val() || 0) < wizard_settings['minimal-bido-price'])) {
1717 wizard_container.switchToStepWithItem(price_field);
1718 alert(wizard_settings['error-description']['bido_price'] + wizard_settings['minimal-bido-price'] + '.', function() {
1719 price_field.focus();
1720 });
1721 return;
1722 }
1723
1724 /* Check BIN Price amount */
1725 var bin_price_field = $('[name=bin_price]', wizard_container);
1726 var min_bin_price = wizard_container.checkState('domain-type-3')? 1 : Math.ceil(price_field.val() * wizard_settings['bin-price-scale']);
1727
1728 if (!wizard_container.checkState('domain-type-1') && bin_price_field.val() && bin_price_field.val() < min_bin_price) {
1729 wizard_container.switchToStepWithItem(bin_price_field);
1730 alert(wizard_settings['error-description']['bin_price'] + min_bin_price + '.', function() {
1731 bin_price_field.focus();
1732 });
1733 return;
1734 }
1735 /* Check bido credits amount */
1736 if (wizard_container.checkState('not-enough-credits')) {
1737 alert(wizard_settings['error-description']['not_enough_credits']);
1738 return;
1739 }
1740
1741 if (wizard_container.checkState('domain-type-1')) {
1742 bin_price_field.val(0);
1743 }else if (wizard_container.checkState('domain-type-3')) {
1744 price_field.val(0);
1745 }
1746
1747 if (!wizard_container.lockSubmission()) {
1748 return;
1749 }
1750 /* submit domains */
1751 var params = {'csv' : $.serializeToCSV(wizard_settings['submit-headers'])};
1752 if (wizard_settings['can-submit-to-users'] &&
1753 getValue($('.wizard-type-easy-wizard>.confirm-step [name=wizard-type-easy-wizard-submit-to]', wizard_container)) == 'another user') {
1754 params.user = $(wizard_container).data('toUser');
1755 if (!params.user) {
1756 $('.wizard-type-easy-wizard .confirm-step .select-user', wizard_container).click();
1757 return false;
1758 }
1759 }
1760 ajax.sendRequest(wizard_settings['domain-submission-uri'], function(response) {
1761 if (response.status == 'WARNING') {
1762 app.login.floating.show();
1763 } else if (response.status == 'OK') {
1764 wizard_container.data('created_domains_count', response.created_domains_count || 0);
1765 var remaining = parseInt($('#submission_counter').html()) - parseInt(response.created_domains_count || 0);
1766 $('#submission_counter').html(remaining);
1767 if (remaining == 0)
1768 $('#submission_reset').html("(counter is reset at midnight EDT).");
1769 wizard_container.switchToSubmissionResult();
1770 for (var i in response.state) {
1771 wizard_container.switchToClass(response.state[i]);
1772 }
1773 wizard_settings['user-bido-credits-amount'] = parseInt(response.user_bido_credits || 0);
1774
1775
1776 if (wizard_container.checkState('domain-type-3')){
1777 $('#one-submitted').hide();
1778 $('#one-submitted-bin').show();
1779 }
1780 else{
1781 $('#one-submitted').show();
1782 $('#one-submitted-bin').hide();
1783 }
1784
1785
1786
1787 } else {
1788 alert(response.message);
1789 }
1790 wizard_container.unlockSubmission();
1791 }, params, false, 'POST');
1792
1793 unsavedChanges.disableCheck();
1794 });
1795
1796 /* init categories select */
1797 $('#wizard-category-checklist', wizard_container).categorySelectBox({
1798 defaultOption : wizard_settings['default-category'],
1799 maxCategories : wizard_settings['max-categories']
1800 });
1801
1802 $('[name=submit_type],[name=domain_type],[name=wizard_type]', wizard_container).bind('focus', function() {
1803 $(this).blur();
1804 });
1805
1806 /* focus to description field if press 'tab' key in subtitle field. */
1807 $('[name=subtitle]').keydown(function(e) {
1808 if (e.keyCode == 9) {
1809 e.preventDefault();
1810 try {
1811 oEditors['description']._focusWindow();
1812 } catch(err) {}
1813 }
1814 });
1815
1816 /* image uploader */
1817 new AjaxUpload($('.image-upload-button', wizard_container), {
1818 name : 'userfile',
1819 action : wizard_settings['image-upload-uri'],
1820 autoSubmit : true,
1821 responseType : 'json',
1822 onComplete : function(file, response) {
1823 if (response.status == 'OK') {
1824 $('[name=domain_image]', wizard_container).val(response.file).click();
1825 } else {
1826 alert(response.message);
1827 }
1828 }
1829 });
1830
1831 /* image uploader */
1832 /*new AjaxUpload($('.domain-image-dummy', wizard_container), {
1833 name : 'userfile',
1834 action : wizard_settings['image-upload-uri'],
1835 autoSubmit : true,
1836 responseType : 'json',
1837 onComplete : function(file, response) {
1838 if (response.status == 'OK') {
1839 $('[name=domain_image]', wizard_container).val(response.file).click();
1840 } else {
1841 alert(response.message);
1842 }
1843 }
1844 });
1845 */
1846 /* editor */
1847 //createEditor('description', 0, 100);
1848 CKEDITOR.replace( 'description', {
1849 toolbarGroups:[
1850 { name: 'basicstyles' },
1851 { name: 'colors' } ,
1852 { name: 'styles' }
1853
1854 ],
1855 removeButtons: 'Formatting,Styles,Paragraph,ParagraphFormat,Format,Underline,Subscript,Superscript,Strike',
1856 height : 140
1857 } );
1858
1859 /* filter for input-price fields (like 28.00) */
1860 $('[name=bido_price],[name=bin_price],[name=upload_bin_price],[name=upload_bido_price]', wizard_container).bind('keydown', function() {
1861 if ($(this).data('old-value') == null) {
1862 $(this).data('old-value', $(this).val());
1863 }
1864 }).bind('keyup', function() {
1865 if (!wizard_settings['price-format'].test($(this).val())) {
1866 $(this).blur();
1867 }
1868 $(this).removeData('old-value');
1869 }).bind('blur', function() {
1870 var input = $(this);
1871 var old_value = typeof input.data('old-value') == 'undefined' ? '' : input.data('old-value');
1872
1873 if (wizard_settings['price-format'].test(input.val())) {
1874 input.val(input.val().replace(/^0+/, '').replace(/\.0*$/, ''));
1875 } else {
1876 alert(wizard_settings['error-description']['wrong_char_in_price'], function() {
1877 input.val(old_value).focus();
1878 });
1879 }
1880 });
1881
1882 /* update uploaded image preview */
1883 $('[name=domain_image]', wizard_container).bind('click', function() {
1884 $('.domain-image-dummy', wizard_container)
1885 .attr('src', wizard_settings['uploaded-image-uri'] + $(this).val())
1886 .toggle($(this).val().length ? true : false);
1887 });
1888
1889 /* Zip file upload handler */
1890 var zip_upload_handler = function(file, response) {
1891 wizard_container.data('zip-upload-domains', response.domains || []);
1892 wizard_container.data('domains_hash', response.domains_hash);
1893 wizard_container.removeData('zip-upload-domains-rendered');
1894 $('.wizard-type-zip-upload .filename-container', wizard_container).html("");
1895 var wnd = $('.csv-with-image');
1896 if (response.csv_with_image) {
1897 displayWindow(wnd, 470, 1, true);
1898 } else if (response.status == 'OK') {
1899 $('.wizard-type-zip-upload .filename-container', wizard_container).html("Upload completed: " + file + ", " + response.filesize + " bytes");
1900 } else {
1901 alert(response.message);
1902 wizard_container.removeData('domains_hash');
1903 }
1904 };
1905
1906 var zip_upload_started = function() {
1907 $('.wizard-type-zip-upload .filename-container', wizard_container).html('Uploading...');
1908 };
1909
1910 /* Bind buttons in upload csv with image popup dialog */
1911 $('.csv-with-image .fix').bind('click', function() {
1912 wizard_container.removeData('domains_hash');
1913 wizard_container.switchToStepWithItem('.csv-zip-upload');
1914 });
1915 $('.csv-with-image .ignore').bind('click', function() {
1916 wizard_container.switchToStepWithItem('.overview-domains');
1917 $(this).closest('.popup-window').hide();
1918 });
1919
1920 /* Upload ZIP file button */
1921 new AjaxUpload($('.csv-zip-upload', wizard_container), {
1922 name : 'userfile',
1923 action : wizard_settings['csv-file-upload-uri'],
1924 autoSubmit : true,
1925 responseType : 'json',
1926 onComplete : zip_upload_handler,
1927 onSubmit : zip_upload_started
1928 });
1929
1930 wizard_container.file_upload = {};
1931 /* render overview row with domain */
1932 wizard_container.file_upload.renderOverviewRow = function(domain) {
1933 var row = $('.domain-dummy', wizard_container).clone(true).show();
1934 /* Show error in popup (if error exists) */
1935 if (domain._error) {
1936 $('.status .fail .help-initiator', row).data('message', domain._error)
1937 .closest('.status').find('.ok').remove();
1938 row.addClass(domain._error_field).data('domain', domain);
1939 } else {
1940 $('.status .fail', row).remove();
1941 }
1942 /* fill other fields */
1943 for (var j in domain) {
1944 $('.' + j, row).text(domain[j]);
1945 }
1946 if (domain['credits_cost'] == 0) {
1947 $('.td-credits-cost', row).text('Free');
1948 }
1949 return row.removeClass('domain-dummy').addClass('domain-row');
1950 };
1951 /* Recalc price to list */
1952 wizard_container.file_upload.recalcPriceToList = function(domains) {
1953 var price_to_list = 0;
1954 for (var i in domains) {
1955 price_to_list += domains[i]['credits_cost'] || 0;
1956 }
1957 if (domains.length == 1) {
1958 $('.wizard-type-zip-upload .s').hide();
1959 } else {
1960 $('.wizard-type-zip-upload .s').show();
1961 }
1962 $('.wizard-type-zip-upload .price-to-list', wizard_container).text(price_to_list == 0 ? 'Free' : price_to_list + " Bido Credit"+(price_to_list>1?"s":""));
1963 var _class = wizard_settings['state']['enough-credits'][!price_to_list || wizard_settings['user-bido-credits-amount'] >= price_to_list ? 0 : 1];
1964 wizard_container.switchToClass(_class);
1965 };
1966
1967 /* Edit error */
1968 $('.domain-dummy .fail .edit', wizard_container).bind('click', function() {
1969 var row = $(this).closest('.domain-row');
1970 var domain = row.data('domain');
1971 var value = domain[domain._error_field];
1972 if (domain._error_field == 'description') {
1973 $('.overview-domains .edit.description', wizard_container).removeClass('edit');
1974 $('.edit-textarea .close-button').click(function () {
1975 $('.overview-domains .edit.description', wizard_container).removeClass('edit');
1976 });
1977 displayWindow($('.edit-textarea'), 304, 0, true);
1978 $('.edit-textarea textarea').val(value).focus();
1979 $('.edit-textarea .save').unbind().click(function() {
1980 $('.fail .save', row).click();
1981 });
1982 } else if (domain._error_field == 'domain_image') {
1983 $('.overview-domains .edit.domain_image', wizard_container).removeClass('edit');
1984 $('#fileUpload .close-button').click(function () {
1985 $('.overview-domains .edit.domain_image', wizard_container).removeClass('edit');
1986 });
1987 $('#fileUpload .domain-name').text(domain.domain);
1988 var data = {
1989 'domains_hash' : wizard_container.data('domains_hash'),
1990 'index' : row.data('index'),
1991 'field' : domain._error_field
1992 };
1993 new AjaxUpload($('#fileUpload .upload-button'), {
1994 name : 'userfile',
1995 action : wizard_settings['file-upload-save-changes-uri'],
1996 data : data,
1997 autoSubmit : true,
1998 responseType : 'json',
1999 onComplete : image_upload_handler
2000 });
2001 displayWindow($('#fileUpload'), 230, 80, true);
2002 } else {
2003 $('[name=upload_' + domain._error_field + ']', row).val(value).focus();
2004 }
2005 row.addClass('edit');
2006 });
2007
2008 var image_upload_handler = function (file, response) {
2009 var row = $('.overview-domains .domain-row.edit', wizard_container);
2010 row.replaceWith(wizard_container.file_upload.renderOverviewRow(response.domain)
2011 .data('index', response.index));
2012 $('#fileUpload').hide();
2013 $('.overview-domains', wizard_container).trigger('update').find('.sort-up,.sort-down').click().click();
2014 var domains = wizard_container.data('zip-upload-domains');
2015 domains[response.index] = response.domain;
2016 wizard_container.data('zip-upload-domains', domains);
2017 row.removeClass('edit');
2018 };
2019
2020 /* Save changes */
2021 $('.domain-dummy .fail .save', wizard_container).bind('click', function() {
2022 var row = $(this).closest('.domain-row');
2023 var domain = row.data('domain');
2024 var field = $('[name=upload_' + domain._error_field + ']', row);
2025 var params = {};
2026 if (domain._error_field == 'description') {
2027 field = $('.edit-textarea textarea');
2028 }
2029 params[domain._error_field] = field.val();
2030 params['min_bin_price'] = Math.ceil(domain.bido_price * wizard_settings['bin-price-scale']);
2031 if (!wizard_container.validator[domain._error_field](params, function() {field.focus();})) {
2032 return;
2033 }
2034 if (domain._error_field == 'description') {
2035 $('.edit-textarea').hide();
2036 }
2037 params = {'domains_hash' : wizard_container.data('domains_hash'),
2038 'index' : row.data('index'), 'field' : domain._error_field,
2039 'value' : field.val()};
2040 ajax.sendRequest(wizard_settings['file-upload-save-changes-uri'], function(response) {
2041 if (response.status == 'OK') {
2042 row.replaceWith(wizard_container.file_upload.renderOverviewRow(response.domain)
2043 .data('index', params['index']));
2044 $('.overview-domains', wizard_container).trigger('update').find('.sort-up,.sort-down').click().click();
2045 var domains = wizard_container.data('zip-upload-domains');
2046 domains[params['index']] = response.domain;
2047 wizard_container.file_upload.recalcPriceToList(domains);
2048 wizard_container.data('zip-upload-domains', domains);
2049 } else {
2050 alert(response.message);
2051 }
2052 }, params, false, 'POST');
2053 row.removeClass('edit');
2054 });
2055
2056 /* Popup with domain-error */
2057 $('.domain-dummy .fail .help-initiator', wizard_container).bind('mouseover click', function() {
2058 showHelp($(this).data('message'), this);
2059 }).bind('mouseout', function() {
2060 cancelHelpShow();
2061 });
2062
2063 $('.wizard-type-zip-upload [name=wizard-type-zip-upload-submit-to]', wizard_container).bind('click', function() {
2064 if (wizard_container.data('myBidoCredits') == undefined) {
2065 wizard_container.data('myBidoCredits', wizard_settings['user-bido-credits-amount']);
2066 }
2067 wizard_container.removeData('zip-upload-domains').removeData('zip-upload-domains-rendered');
2068 if (getValue($(this)) == 'myself') {
2069 wizard_settings['user-bido-credits-amount'] = wizard_container.data('myBidoCredits');
2070 } else if (getValue($(this)) == 'another user') {
2071 if (!wizard_container.data('toUser')) {
2072 $('.wizard-type-zip-upload .select-user', wizard_container).click();
2073 return;
2074 } else {
2075 wizard_settings['user-bido-credits-amount'] = wizard_container.data('bidoCredits');
2076 }
2077 }
2078 var user = $(this).val() == 'myself' ? 'yourself' : $('.user:first').html();
2079 $('.zip-upload-user').html(user);
2080 });
2081
2082 /* Zip upload confirmation step */
2083 $('.submit-steps-navigator.wizard-type-zip-upload .navigator-item.confirm-step', wizard_container).bind('click', function() {
2084 /* if no file was uploaded */
2085 if (!wizard_container.data('domains_hash')) {
2086 alert('No file was uploaded.');
2087 wizard_container.switchToStepWithItem('.csv-zip-upload');
2088 return;
2089 }
2090 wizard_container.switchToClass(wizard_settings['state']['submit-status'][1]);
2091
2092 /* if overview table already rendered */
2093 if (wizard_container.data('zip-upload-domains-rendered')) {
2094 return;
2095 }
2096 /* Request new data about uploaded zip file */
2097 if (!wizard_container.data('zip-upload-domains')) {
2098 wizard_container.switchToStepWithItem('.csv-zip-upload');
2099 var params = {'domains_hash' : wizard_container.data('domains_hash')};
2100 if (wizard_container.data('toUser') &&
2101 wizard_settings['can-submit-to-users'] &&
2102 getValue($('.wizard-type-zip-upload>.confirm-step [name=wizard-type-zip-upload-submit-to]', wizard_container)) == 'another user'
2103 ) {
2104 params.user = wizard_container.data('toUser');
2105 }
2106 ajax.sendRequest(wizard_settings['csv-file-upload-uri'], function(response) {
2107 if (response.status == 'OK') {
2108 wizard_container.data('zip-upload-domains', response.domains || []);
2109 wizard_container.switchToStepWithItem('.overview-domains');
2110 } else {
2111 alert(response.message);
2112 }
2113 }, params, false, 'POST');
2114 return;
2115 }
2116
2117 var domains = wizard_container.data('zip-upload-domains');
2118 // Generate overview table
2119 var overview_domains = $('.overview-domains', wizard_container);
2120 overview_domains.find('.domain-row').remove();
2121 for (var i in domains) {
2122 wizard_container.file_upload.renderOverviewRow(domains[i]).data('index', i).appendTo(overview_domains.find('tbody'));
2123 }
2124 overview_domains.trigger('update').trigger('sorton', [[[4, 0]]]);
2125
2126 if (domains.length == 0) {
2127 wizard_container.switchToClass(wizard_settings['state']['submit-status'][0]);
2128 }
2129 wizard_container.file_upload.recalcPriceToList(domains);
2130 wizard_container.data('zip-upload-domains-rendered', true);
2131 });
2132
2133 /* Submit uploaded file */
2134 $('.submit-link-zip-upload', wizard_container).bind('click', function() {
2135 var params = {'domains_hash' : wizard_container.data('domains_hash')};
2136 if (!params['domains_hash']) {
2137 return;
2138 }
2139 var submit_func = function() {
2140 if (!wizard_container.lockSubmission()) {
2141 return;
2142 }
2143 if (wizard_settings['can-submit-to-users'] &&
2144 getValue($('.wizard-type-zip-upload>.confirm-step [name=wizard-type-zip-upload-submit-to]', wizard_container)) == 'another user') {
2145 params.user = $(wizard_container).data('toUser');
2146 if (!params.user) {
2147 $('.wizard-type-zip-upload .confirm-step .select-user', wizard_container).click();
2148 return false;
2149 }
2150 }
2151 ajax.sendRequest(wizard_settings['submit-csv-file-uri'], function(response) {
2152 if (response.status == 'WARNING') {
2153 app.login.floating.show();
2154 } else if (response.status == 'OK') {
2155 wizard_container.data('created_domains_count', response.created_domains_count || 0);
2156 wizard_container.switchToSubmissionResult();
2157 wizard_settings['user-bido-credits-amount'] = parseInt(response.user_bido_credits || 0);
2158 } else {
2159 alert(response.message);
2160 }
2161 wizard_container.unlockSubmission();
2162 }, params, false, 'POST');
2163 };
2164 var fail_count = $('.overview-domains .domain-row .status .fail', wizard_container).size();
2165 if (fail_count == 0) {
2166 submit_func();
2167 } else {
2168 $('.wizard-one-failure, .wizard-multiple-failures').find('.ignore').unbind().bind('click', function() {
2169 params['ignore'] = 1;
2170 $(this).closest('.popup-window').hide();
2171 submit_func();
2172 });
2173 var wnd = $('.' + (fail_count == 1 ? 'wizard-one-failure' : 'wizard-multiple-failures'));
2174 wnd.find('.fail_count').text(fail_count);
2175 displayWindow(wnd, 310, 0, true);
2176 }
2177 });
2178 /* Close/hide behavior in popup windows */
2179 $('.popup-window').find('.fix, .close-button, .cancel').bind('click', function() {
2180 $(this).closest('.popup-window').hide();
2181 });
2182
2183 /* Payment authorization */
2184 $('.authorization-window .authorizate').bind('click', function() {
2185 wizard_container.saveState($.objectToString(wizard_container.getState()));
2186 var authorization_type = $(this).closest('.popup-body').find('[name=authorization-type]:checked').val();
2187 var authorization_info = wizard_settings['payment-authorization'][authorization_type];
2188 var form = $('<form>').attr('action', authorization_info['action']).attr('method', authorization_info['method'] || 'get');
2189 for (var i in authorization_info['extra']) {
2190 $('<input>').attr('type', 'hidden').attr('name', i).val(authorization_info['extra'][i]).appendTo(form);
2191 }
2192 form.appendTo('body').submit();
2193 });
2194
2195 /* Submit advanced form */
2196 $('.submit-link-advanced-form', wizard_container).bind('click', function() {
2197 if (!wizard_container.lockSubmission()) {
2198 return;
2199 }
2200 closeOpenedCategorySelect();
2201 var userId = wizard_settings['user-id'];
2202 if (wizard_settings['can-submit-to-users'] &&
2203 getValue($('.wizard-type-advanced-form>.confirm-step [name=wizard-type-advanced-form-submit-to]', wizard_container)) == 'another user') {
2204 userId = $(wizard_container).data('toUser');
2205 if (!userId) {
2206 $('.wizard-type-advanced-form .confirm-step .select-user', wizard_container).click();
2207 return false;
2208 }
2209 }
2210
2211 var domain_type = $('#adv_form_domain_type').val();
2212 if (domain_type==3){
2213 domain_type=2;
2214 }
2215
2216 var params = {'domains': domains.join(','), 'prices': prices.join(','), 'user_id': userId,
2217 'adults': adults.join(','), 'categories': joinObject(categories, '||'), 'currency' : $('#adv_form_currency').val() , 'domain_type': domain_type };
2218
2219 ajax.sendRequest(wizard_settings['advanced-form-submission-uri'], function(response) {
2220 if (response.user_logged_out) {
2221 app.login.floating.show();
2222 } else {
2223 if (response.status != 'OK') {
2224 alert(response.message);
2225 }
2226 wizard_container.data('created_domains_count', response.created_domains_count || 0);
2227 }
2228 if (wizard_container.data('created_domains_count')) {
2229 wizard_container.switchToSubmissionResult();
2230 wizard_settings['user-bido-credits-amount'] = parseInt(response.user_bido_credits || 0);
2231 if (params['domain_type'] == 1){//BidoPrice
2232 var remaining = parseInt($('#submission_counter').html()) - parseInt(response.created_domains_count || 0);
2233 $('#submission_counter').html(remaining);
2234 }
2235
2236
2237 }
2238 wizard_container.unlockSubmission();
2239 }, params);
2240 unsavedChanges.disableCheck();
2241 });
2242
2243 /* Create sortable from overview table */
2244 $('.overview-domains', wizard_container).tablesorter({
2245 cssAsc: 'sort-up',
2246 cssDesc: 'sort-down',
2247 cssHeader: 'sort-header',
2248 headers: [{sorter: 'text'}, {sorter: 'digit'}, {sorter: 'digit'}, {sorter: 'digit'}, {sorter: 'text'}],
2249 textExtraction: function(item) { return $('.sort', item).text(); }
2250 });
2251
2252 /* Show Wizard Window button */
2253 $('.submit-wizard-button').bind('click', function() {
2254 wizard_container.resetState();
2255 displayWindow(wizard_container, wizard_settings['window-width'], wizard_settings['window-height'], true);
2256 });
2257
2258 /* after success login via floating form */
2259 app.login.floating.bind('success', function() {
2260 app.login.floating.hide();
2261 $('.submit-link:visible', wizard_container).click();
2262 });
2263 $('#login-popup-form .sign-up').bind('click', function() {
2264 wizard_container.saveState($.objectToString(wizard_container.getState()));
2265 $.cookie('redirect', '/SubmitDomains');
2266 });
2267
2268 wizard_container.appendTo('body').css('z-index', 50);
2269
2270 /* browser history navigator */
2271 wizard_container.history = {};
2272 wizard_container.history.load = function(hash) {
2273 var step = $.intersect(wizard_settings['state']['steps'], hash.split(/ /));
2274 var w_type = $.intersect(wizard_settings['state']['wizard-types'], hash.split(/ /));
2275
2276 // pages
2277 if (step.length && !wizard_container.checkState(step[0])) {
2278 wizard_container.switchToStepWithItem('.' + step[0]);
2279 }
2280 // wizard-types
2281 if (w_type.length && !wizard_container.checkState(w_type[0])) {
2282 w_type[0] = w_type[0].replace('wizard-type-', '');
2283 wizard_container.setState({'wizard_type' : w_type[0]});
2284 }
2285 };
2286 wizard_container.history.save = function(item) {
2287 var step = wizard_container.intersectClass(wizard_settings['state']['steps']);
2288 var wizard_type = wizard_container.intersectClass(wizard_settings['state']['wizard-types']);
2289
2290 $.history.load(wizard_type + ' ' + step);
2291 };
2292
2293 /* Change the history of submission wizard only after calling all handlers */
2294 $('.submit-steps-holder .wizard-types', wizard_container).bind('click change', function() {
2295 wizard_container.history.save(this);
2296 });
2297 $('.submit-steps-navigator .navigator-item', wizard_container).bind('click change', function() {
2298 var step = $(this).intersectClass(wizard_settings['state']['steps']);
2299 // state of a wizard could be changed handlers above,
2300 // remember in the history should be only the last change of state
2301 if (wizard_container.checkState(step)) {
2302 wizard_container.history.save(this);
2303 }
2304 });
2305
2306 // back/forward browser buttons handler
2307 $.history.init(wizard_container.history.load);
2308
2309 $('.popup-window').appendTo('body');
2310 /* load state */
2311 var state = wizard_container.loadState();
2312 try {
2313 if (state) {
2314 $('.submit-wizard-button').click();
2315 wizard_container.setState(state);
2316 var step = state['step'] || '.confirm-step:visible';
2317 wizard_container.switchToStepWithItem(step);
2318 }
2319 } catch(err) {
2320 wizard_container.hide();
2321 }
2322
2323 $('.unsaved-changes-disable-click').click(function(){
2324 unsavedChanges.disableCheck();
2325 setTimeout('unsavedChanges.enableCheck()', 0);
2326 });
2327
2328 unsavedChanges = new UnsavedChanges('#submitted-wizard-window-form');
2329 unsavedChanges.userCheck = function () {
2330 return wizard_container.is(":visible");
2331 };
2332 unsavedChanges.onbeforeunload();
2333 //
2334 wizard_container.resetState();
2335 displayWindow(wizard_container, wizard_settings['window-width'], wizard_settings['window-height'], true);
2336 });
2337</script>
2338 <link rel="stylesheet" type="text/css" href="http://static-orig.bido.com/styles/to_checklist.css" media="screen">
2339<script type="text/javascript" src="http://static-orig.bido.com/javascripts/select-box.js,jquery/ajaxupload.js"></script>
2340<script src="/ckeditor/ckeditor.js"></script>
2341
2342<div id="submitted-wizard-window" class="popup-window" style="max-width:610px;width:100%;">
2343 <div class="popup-body">
2344 <form id="submitted-wizard-window-form" onsubmit="return false;">
2345 <div class="close-button">X</div>
2346
2347 <div class="greenBar">
2348 <div class="left"><!-- --></div>
2349 <span style="width: 85%;" class="title"><span id="wizard_title_dn"></span>Submit your listing to Bido</span>
2350 <div class="right"><!-- --></div>
2351 <div class="ui-drag-bar"><!-- --></div>
2352 </div>
2353 <ol class="submit-steps-navigator clearfix wizard-type-easy-wizard">
2354 <li class="step-1 navigator-item"><span>1</span> Wizard</li>
2355 <li class="step-2 navigator-item"><span>2</span> Item Type</li>
2356 <li class="step-3 navigator-item"><span>3</span> Listing Details</li>
2357 <li class="step-4 navigator-item"><span>4</span> Additional Info</li>
2358 <li class="step-5 navigator-item"><span>5</span> Pricing</li>
2359 <li class="step-6 navigator-item confirm-step"><span>6</span> Submission</li>
2360 <li class="step-7 navigator-item disabled"><span>7</span> Confirmation</li>
2361 </ol>
2362 <ol class="submit-steps-navigator clearfix wizard-type-advanced-form">
2363 <li class="step-1 navigator-item"><span>1</span> Wizard</li>
2364 <li class="step-2 navigator-item"><span>2</span> Form</li>
2365 <li class="step-3 navigator-item confirm-step"><span>3</span> Confirm</li>
2366 <li class="step-4 navigator-item disabled"><span>4</span> Confirmation</li>
2367 </ol>
2368 <ol class="submit-steps-navigator clearfix wizard-type-zip-upload">
2369 <li class="step-1 navigator-item"><span>1</span> Wizard</li>
2370 <li class="step-2 navigator-item"><span>2</span> Upload</li>
2371 <li class="step-3 navigator-item confirm-step"><span>3</span> Confirm</li>
2372 <li class="step-4 navigator-item disabled"><span>4</span> Confirmation</li>
2373 </ol>
2374 <div class="submit-steps-holder">
2375 <div class="submit-steps-holder-bottom"><div class="submit-steps-holder-left"><div class="submit-steps-holder-right"><div class="submit-steps-holder-left-top"><div class="submit-steps-holder-left-bottom"><div class="submit-steps-holder-right-top">
2376
2377 <div class="step-1 submit-steps-content">
2378 <h2><b>Step 1</b>: Select submission type</h2>
2379 <div class="arrows-container">
2380 <label class="arrow wizard-types wizard-type-easy-wizard cursor"><input type="radio" name="wizard_type" value="easy-wizard" checked> Easy Wizard (recommended)</label>
2381 <label class="arrow wizard-types wizard-type-advanced-form cursor"><input type="radio" name="wizard_type" value="advanced-form"> Advanced Form</label>
2382 <label class="arrow wizard-types wizard-type-zip-upload cursor"><input type="radio" name="wizard_type" value="zip-upload"> Bulk Upload .csv / .zip</label>
2383 </div>
2384 <div class="wizard-type-help">
2385 <div class="help-1">This is the recommended method for submitting a listing to Bido, especially for first time users. You will be walked through the listing process with a very easy to understand wizard. At the end of the process, you'll be able to download a .CSV file of your submission, that you can use as a template to list many submissions at once the next time.</div>
2386 <div class="help-2">This lets you quickly paste a list of domains with your BidoPrice. It's fast, however currently does not provide all of the fields of data that are encouraged and are offered to you with the Easy Wizard and Bulk Upload methods.</div>
2387 <div class="help-3">This method provides the most options. You may upload photos as well as provide full descriptions of your submissions, pricing formats, and other options. It's recommended you do your first submission with the Easy Wizard, and the final step will allow you to download a csv of that submission, that you can use as a basis for larger lists.</div>
2388 </div>
2389 </div>
2390
2391 <div class="wizard-type-easy-wizard"><!-- Easy wizard steps -->
2392 <div class="step-2 submit-steps-content">
2393 <h2><b>Step 2</b>: Select the type of item that you are selling</h2>
2394 <div class="arrows-container">
2395 <label class="arrow submit-type-1 cursor"><input type="radio" class="submit-types submit-type-1" name="with_content" value="0" checked> Domain Name Only</label>
2396 <label class="arrow submit-type-2 cursor"><input type="radio" class="submit-types submit-type-2" name="with_content" value="1"> Developed Website</label>
2397 </div>
2398 <div class="submit-type-help">
2399 <div class="help-1">Select this option to sell a domain name</div>
2400 <div class="help-2">Select this to sell a developed Website</div>
2401 </div>
2402 <!--<p class="tips">These are the types of items you may currently sell on Bido.<br>Please select one and proceed to the next step.</p>-->
2403 </div>
2404
2405 <div class="step-3 submit-steps-content">
2406 <h2><b>Step 3</b>: Enter the details of the domain</h2>
2407 <div class="descr-details">
2408 <label class="clearfix"><span>Domain Name:</span><input type="text" name="domain"></label>
2409 <label class="clearfix"><span>Subtitle (optional):</span><input type="text" name="subtitle"></label>
2410 <p>Description:</p>
2411 <div class="yui-skin-sam">
2412 <textarea name="description" id="description" cols="30" rows="10"></textarea>
2413 </div>
2414 </div>
2415
2416 <div class="categories">
2417 <p class="label">Categories (max 4):</p>
2418 <ul id="wizard-category-checklist" class="checklist">
2419 <li>Acronyms</li>
2420 <li>Adult</li>
2421 <li>Auto, Transportation</li>
2422 <li>Business</li>
2423 <li>Culture</li>
2424 <li>Education</li>
2425 <li>Entertainment</li>
2426 <li>Financial</li>
2427 <li>Food, Beverage</li>
2428 <li>Geo Targeted</li>
2429 <li>Goods</li>
2430 <li>Hobbies</li>
2431 <li>Holidays, Celebrations</li>
2432 <li>Home Improvement</li>
2433 <li>Internet, Webmaster</li>
2434 <li>Jewelry, Fashion, Art</li>
2435 <li>Kids</li>
2436 <li>Legal, Politics, Religion</li>
2437 <li>Love, Relationships</li>
2438 <li>Medical</li>
2439 <li>Music, Movies</li>
2440 <li>Names</li>
2441 <li>Novelty</li>
2442 <li>Numbers</li>
2443 <li>Pets, Plants</li>
2444 <li>Reading Material</li>
2445 <li>Real Estate</li>
2446 <li>Search, News, Media</li>
2447 <li>Spiritual, Wellness</li>
2448 <li>Sports</li>
2449 <li>Telecom</li>
2450 <li>Travel</li>
2451 <li>Uncategorized</li>
2452 </ul>
2453 <input type="hidden" name="category">
2454 <div class="adultAlert" id="adultAlert" style="max-width: 180px;float: right;padding-top: 10px; display: none;">
2455 <img src="http://static-orig.bido.com/images/icons/alert.gif">
2456 Domains in the Adult category are viewable only by members who have opted-in to show Adult domains. You are only required to classify domains in this category if they include an explicit Adult-related term (Child Protection). </div>
2457 </div>
2458 </div>
2459
2460
2461 <div class="step-4 submit-steps-content">
2462 <h2><b>Step 4</b>: Additional Info (optional)</h2>
2463 <p>
2464 <table><tr>
2465 <td style="vertical-align:top;"><img src="http://static-orig.bido.com/images/wizard/default_thumbnail.gif" class="domain-image-dummy expand" width="73" height="62" alt="preview image" >
2466 <span title="Upload" class="image-upload-button expand" style="cursor:pointer;">Upload</span>
2467 </td>
2468 <td style="vertical-align:top;" style="margin-top: 0;padding-top: 0;"><b>Image:</b> Upload an illustration image for your listing (highly recommended):<br><b>It may be a logo that relates to the specific item, an icon, or any otherwise relevant and descriptive image.</b> The image will automatically be resized to 73x62.<br>(Note: No advertising, company logos, or obscenity is allowed in images)</td>
2469 </tr></table>
2470 </p>
2471 <input type="hidden" class="domain-image" name="domain_image">
2472 <p><b>Video</b>: Embed code to related YouTube video (optional):</p>
2473 <textarea name="video" cols="80" rows="2" class="t-text"></textarea>
2474 <br><br>
2475 <p style="margin-top: 5px;"><b>Revenue</b>: Enter the item's existing revenue information (optional):</p>
2476 <div class="revenue-information">
2477 <div class="revenue-line clearfix">
2478 <label for="average_revenue"><span>Average revenue, in USD:</span> <input type="text" name="average_revenue" id="average_revenue" style="width:40px;"></label>
2479 <label for="average_revenue_interval" class="select-label"><span>Per:</span>
2480 <select name="average_revenue_interval" id="average_revenue_interval">
2481 <option value="month" selected>Month</option>
2482 <option value="year">Year</option>
2483 </select>
2484 </label>
2485 <label for="source_revenue"><span>Source of revenue:</span> <input type="text" name="source_revenue" id="source_revenue" style="width: 90px;"></label>
2486 </div>
2487 </div>
2488 </div>
2489
2490 <div class="step-5 submit-steps-content">
2491 <h2><b>Step 5</b>: Specify your price format</h2>
2492 <div class="arrows-container">
2493 <label for="domain_type1" class="arrow domain-type-1 cursor"><input type="radio" class="domain-types domain-type-1" name="domain_type" id="domain_type1" value="1" checked> BidoPrice Auction</label>
2494 <label for="domain_type2" class="arrow domain-type-2 cursor"><input type="radio" class="domain-types domain-type-2" name="domain_type" id="domain_type2" value="2"> BidoPrice Auction + Buy It Now</label>
2495 <label for="domain_type3" class="arrow domain-type-3 cursor"><input type="radio" class="domain-types domain-type-3" name="domain_type" id="domain_type3" value="3"> Buy Now Only</label>
2496 </div>
2497 <div class="domain-type-help">
2498 <div class="help-1">Your BidoPrice (Reserve Price) is the absolute minimum price that you as seller will accept in order to sell your item in auction. Auctions typically start at $9 and if the high bid does not reach your selected BidoPrice, you'll be given 24 hours to decide if you want to accept the high bid. BidoPrice items are first voted by the Bido members to auction. You may skip the voting process by using <a target=_blank href=/AuctionAcceleration target="_blank">Auction Acceleration</a>.</div>
2499 <div class="help-2">Add a Buy-It-Now (BIN) price in addition to your BidoPrice. Your BIN price must be at least 0% more than your BidoPrice. The BIN option is removed in an auction if bidding hits 75% of your BidoPrice. This allows your auction to end for even more than the BIN price, should there be a bidding war. In addition, your BIN is enabled and active the entire time while your item is up for voting.</div>
2500 <div class="help-3">Fixed-Price Listing: Your item will be listed for sale on Bido, using its Buy-It-Now price only. No auction. There is no daily submission limit for this type of listing. It is recommended to combine this listing type with the <a href=/Parking target="_blank">parking</a> of your domains with Bido, in order to attract more potential buyers to your listing.</div>
2501 </div>
2502
2503 <div class="params">
2504 <div class="gray-on-mouseover">
2505 <label for="bido_price">Enter your BidoPrice:</label>
2506 <select class="currencyselect" name="bido_price_currency" id="bido_price_currency"><option selected value="0">USD</option><option value="1">EUR</option><option value="2">GBP</option><option value="3">CHF</option><option value="4">INR</option><option value="5">CAD</option><option value="6">AUD</option><option value="7">CNY</option><option value="8">ZAR</option> </select>
2507
2508 <input type="number" name="bido_price" class="bido-price">
2509
2510 <!--label class="radio" style="display: none;">
2511 <input type="radio" class="hide-prices hide-price-0" name="hide_bido_price" value="0" checked>
2512 </label>
2513 <label class="radio" style="display: none;">
2514 <input type="radio" class="hide-prices hide-price-1" name="hide_bido_price" value="1">
2515 </label-->
2516 </div>
2517
2518 <div class="gray-on-mouseover" style="display: none;">
2519 <label for="bin_price" class="bin-price-label">Enter your Buy-Now price:</label>
2520
2521 <select class="currencyselect" name="bin_price_currency" id="bin_price_currency"><option selected value="0">USD</option><option value="1">EUR</option><option value="2">GBP</option><option value="3">CHF</option><option value="4">INR</option><option value="5">CAD</option><option value="6">AUD</option><option value="7">CNY</option><option value="8">ZAR</option> </select>
2522
2523 <input type="number" name="bin_price" class="bin-price">
2524 <br><br>
2525 </div>
2526
2527 <!-- div class="gray-on-mouseover" style="visibility: hidden;">
2528 Pick how you want the starting bid of your auction:
2529 <label class="radio">
2530 <input type="radio" name="start_at_bidoprice" class="start-at-bidoprice" value="0" checked>
2531 $9 (<span class="help-initiator" onclick="showHelp('Bidding will start at $9. This is recommended to engage bidders and encourage bidding wars. If your auction ends with a high bid below your BidoPrice, you will have 24 hours to decide to accept the high bid in lieu of your BidoPrice.', this); return false;" onmouseout="cancelHelpShow()">?</span>)
2532 </label>
2533 <label class="radio">
2534 <input type="radio" name="start_at_bidoprice" class="start-at-bidoprice" value="1">
2535 The item's BidoPrice
2536 (<span class="help-initiator" onclick="showHelp('Bids below the BidoPrice will not be allowed if you select this option. This may be useful if you wish to prevent a lower perceived value of your item, but it may detract some bidders from participating in your auction.', this); return false;" onmouseout="cancelHelpShow()">?</span>)
2537 </label>
2538 </div -->
2539 <input type="hidden" name="start_at_bidoprice" class="start-at-bidoprice" value="0">
2540
2541 </div>
2542 </div>
2543
2544 <div class="step-6 submit-steps-content confirm-step">
2545 <h2><b>Step 6</b>: Review & Submit</h2>
2546 <div class="submissions-info clearfix">
2547 <div class="submission-name">Item:</div>
2548 <div class="submission-value"><span class="item-name"></span></div>
2549
2550 <div class="submission-name bido-price">BidoPrice:</div>
2551 <div class="submission-value bido-price"><span id="bido-price-currency"></span><span class="bido-price-amount"></span></div>
2552
2553 <div class="submission-name bin-price">BIN Price:</div>
2554 <div class="submission-value bin-price"><span id="bin-price-currency"></span><span class="bin-price-amount"></span></div>
2555
2556 <div class="submission-name">Listing Format:</div>
2557 <div class="submission-value listing-format">
2558 <span class="voting">Auction, Allow members to vote</span>
2559 <span class="fixprice">Fixed-Price (Buy-Now) only</span>
2560 <span class="hide-bido-price">Hide my BidoPrice</span>
2561 </div>
2562
2563 <div class="submission-name">Price to list:</div>
2564 <div class="submission-value price-to-list">
2565 <span class="no-charge">No Charge</span>
2566 <span class="charge">
2567 <span class="price-to-list"></span>
2568 <span class="bin-price"> 0 <span class="remove-bin bin-price">remove BIN</span></span>
2569 </span>
2570 </div>
2571
2572 <div class="submission-name">Credits available: </div>
2573 <div class="submission-value user-credits">
2574 <span class="user-credits-amount"></span>
2575 <span class="not-enough-credits"><a href="https://bido.com/Payments?payfor=bido_credits&return=SubmitDomains" target="_blank">(you must purchase credits)</a></span>
2576 </div>
2577 </div>
2578 <div class="download-csv-holder"><span class="download-csv">Download as CSV</span> (<a onclick="showHelp('You may wish to download a .csv file of the way you designed this listing for use with other domains. Bido features a bulk listing tool where you can upload a .csv to list multiple submissions at once. Simply copy the row from this submission into new rows to list multiple auctions (and change the item title, domain names, etc. as required). Further instructions will be in the .csv. Once you download and open the file, it will be more clear.', this);" onmouseout="cancelHelpShow();" href="javascript:void(0);">?</a>)</div>
2579 <div class="submit-link submit-link-easy-wizard">I'm Ready, Submit My Listing</div>
2580 <p class="owner-verification">Ownership verification is required and you will be sent more details after confirmation.</p>
2581 </div>
2582
2583 <div class="step-7 submit-steps-content">
2584 <h2><b>Step 7</b>: Confirmation</h2>
2585 <span class="one-submitted">Domain has been submitted successfully.<br><span class="new-submission">Submit another domain</span><br><br>The next step is to verify ownership of your submitted domain.<br>Please visit your <a id="one-submitted-link" href=/UserDomains>Submitted Domains</a><a id="one-submitted-link-bin" style="display:none;" href=/Portfolio>Buy-Now/Offer-Pages</a> page and follow the steps to validate ownership.<br>You have also been sent an email with more information, please check your inbox for a verification link sent to the admin contact of the domain you submitted.</span>
2586 <div class="download-csv-holder"><span class="download-csv">Download as CSV</span> (<a onclick="showHelp('You may wish to download a .csv file of the way you designed this listing for use with other domains. Bido features a bulk listing tool where you can upload a .csv to list multiple submissions at once. Simply copy the row from this submission into new rows to list multiple auctions (and change the item title, domain names, etc. as required). Further instructions will be in the .csv. Once you download and open the file, it will be more clear.', this);" onmouseout="cancelHelpShow();" onmouseover="showHelp('You may wish to download a .csv file of the way you designed this listing for use with other domains. Bido features a bulk listing tool where you can upload a .csv to list multiple submissions at once. Simply copy the row from this submission into new rows to list multiple auctions (and change the item title, domain names, etc. as required). Further instructions will be in the .csv. Once you download and open the file, it will be more clear.', this);" href="javascript:void(0);">?</a>)</div>
2587 </div>
2588 </div><!-- End Easy wizard steps -->
2589
2590
2591 <!-- Start Advanced form steps -->
2592 <div class="wizard-type-advanced-form">
2593 <div class="step-2 submit-steps-content">
2594 <h2><b>Step 2</b>: Form</h2>
2595 Enter your submission type, and currency:
2596 <br>
2597 Pricing: <select name="adv_form_domain_type" id="adv_form_domain_type" style="max-width: 100%;" onchange="if (this.value==3) {$('#adv_form_currency_span').hide();
2598 $('#enter_domains_help_makeoffer').show();$('#enter_domains_help').hide();}
2599 else {$('#adv_form_currency_span').show();$('#enter_domains_help_makeoffer').hide();$('#enter_domains_help').show();}"><option value="1" selected>BidoPrice (Submission for Auction, Reserve Price)</option><option value="2">BINPrice (Fixed Price Listing - No Auction)</option>
2600 <option value="3">No Pricing, Make Offer only (No Auction)</option>
2601
2602 </select>
2603
2604 <span id="adv_form_currency_span">
2605 Currency: <select name="adv_form_currency" id="adv_form_currency"><option value="0" selected>USD</option><option value="1" >EUR</option>
2606 <option value="2" >GBP</option>
2607 <option value="3" >CHF</option>
2608 </select>
2609 </span>
2610 <br><br>
2611 <div id="enter_domains_help">Enter Your Domains: Submit up to the free submission limit, each on a separate line(max 500 domains at a time). Please use the following format: Domain-name,Price. For example:<br><b>Domain2.com,500<br>XXXDomain.com,5000,adult</b></div>
2612 <div id="enter_domains_help_makeoffer" style="display:none">Enter Your Domains: Submit up to the free submission limit, each on a separate line(max 500 domains at a time). Please use the following format: Domain-name,Price. For example:<br><b>Domain2.com<br>XXXDomain.com,adult</b></div>
2613 <textarea name="domains" rows="8" cols="65"></textarea>
2614
2615 </div>
2616 <div class="step-3 submit-steps-content confirm-step">
2617 <h2><b>Step 3</b>: Confirm</h2>
2618 <div style="position: relative; margin-bottom: 8px; padding: 32px 0 0 0;">
2619 <div style="max-height: 163px; overflow-x: hidden; overflow-y: auto;">
2620 <table id="domainsList" class='list' style="border: 1px solid #ebebeb; border-top: 0;"><tr><td></td></tr></table>
2621 </div>
2622 </div>
2623 <span class="credits-amount">
2624 Credits available: <span class="user-credits-amount"></span><br>
2625 Price to list: <span class="price-to-list"></span>
2626 </span>
2627 <span class="not-enough-credits-link not-enough-credits"><a href="https://bido.com/Payments?payfor=bido_credits&return=SubmitDomains">You must purchase credits</a></span>
2628 <span class="submit-link submit-link-advanced-form">I'm Ready, Submit My Listing<span class="s">s</span></span>
2629 <p class="owner-verification">Ownership verification is required and you will be sent more details after confirmation.</p>
2630 </div>
2631 <div class="step-4 submit-steps-content">
2632 <h2><b>Step 4</b>: Confirmation</h2>
2633 <span class="one-submitted">Domain has been submitted successfully.<br><span class="new-submission">Submit another domain</span><br><br>The next step is to verify ownership of your submitted domain.<br>Please visit your <a id="one-submitted-link" href=/UserDomains>Submitted Domains</a><a id="one-submitted-link-bin" style="display:none;" href=/Portfolio>Buy-Now/Offer-Pages</a> page and follow the steps to validate ownership.<br>You have also been sent an email with more information, please check your inbox for a verification link sent to the admin contact of the domain you submitted.</span>
2634 <span class="multiple-submitted">Domains have been submitted successfully.<br><span class="new-submission">Submit another domain</span><br><br>The next step is to verify ownership of your submitted inventory.<br>Please visit your <a class="multiple-submitted-link" style="display:none;" href=/UserDomains>Submitted Domains</a><a class="multiple-submitted-link-bin" style="display:none;" href=/Portfolio>Buy-Now/Offer-Pages</a> page and follow the steps to validate ownership.<br>You have also been sent an email with more information, please check your inbox for a verification link sent to the admin contact of the domains you submitted.</span>
2635 </div>
2636 </div><!-- End Advanced form steps -->
2637
2638 <div class="wizard-type-zip-upload"><!-- Zip upload steps -->
2639 <div class="step-2 submit-steps-content">
2640 <h2><b>Step 2</b>: Upload</h2>
2641 <a class="download-blank-csv unsaved-changes-disable-click" href="domain.submit.WizardFormCSV">Download blank CSV</a>
2642 (<a onclick="showHelp('Please download this blank .csv file. It will allow you to fill the necessary fields to easily upload a large list of items for sale. To include images with your upload, package the .csv inside a .zip along with the images. Put the respective image name like mypic.jpg in the Image column to associate the picture with the proper item. You may upload either a .csv or a .zip with the .csv inside to proceed to list your items. In addition, if you go back and submit a listing with the Easy Wizard, the final step allows you to download a .csv with those settings that you may use as a template to list many items later. For that reason, we recommend listing an item using the Easy Wizard if its your first time, and download the file at the last step, then come back here and upload many more.', this);" onmouseout="cancelHelpShow();" onmouseover="showHelpProcess('Please download this blank .csv file. It will allow you to fill the necessary fields to easily upload a large list of items for sale. To include images with your upload, package the .csv inside a .zip along with the images. Put the respective image name like mypic.jpg in the Image column to associate the picture with the proper item. You may upload either a .csv or a .zip with the .csv inside to proceed to list your items. In addition, if you go back and submit a listing with the Easy Wizard, the final step allows you to download a .csv with those settings that you may use as a template to list many items later. For that reason, we recommend listing an item using the Easy Wizard if its your first time, and download the file at the last step, then come back here and upload many more.', this);" href="javascript:void(0);">?</a>)
2643 <span class="csv-zip-upload">Zip upload</span>
2644 <div class="filename-container"></div>
2645 </div>
2646 <div class="step-3 submit-steps-content confirm-step">
2647 <h2><b>Step 3</b>: Confirm</h2>
2648 <div style="max-height: 195px; overflow: auto;">
2649 <table class="overview-domains">
2650 <thead>
2651 <tr>
2652 <th>Domain</th>
2653 <th>BidoPrice</th>
2654 <th>BIN Price</th>
2655 <th>Price to list</th>
2656 <th>Status</th>
2657 </tr>
2658 </thead>
2659 <tbody>
2660 <tr class="domain-dummy" style="display: none;">
2661 <td class="td-domain">
2662 <span class="domain sort"></span>
2663 <input type="text" name="upload_domain" value="" class="not-save">
2664 </td>
2665 <td class="td-bido-price">
2666 $<span class="bido_price sort"></span>
2667 <input type="text" name="upload_bido_price" value="" class="not-save">
2668 </td>
2669 <td class="td-bin-price">
2670 $<span class="bin_price sort"></span>
2671 <input type="text" name="upload_bin_price" value="" class="not-save">
2672 </td>
2673 <td class="td-credits-cost"><span class="credits_cost"></span> Bido Credit</td>
2674 <td class="status">
2675 <span class="ok sort">OK</span>
2676 <span class="fail">
2677 <span class="sort">Fail</span> (<span class="help-initiator">?</span>)<br>
2678 <span class="not-enough-credits-link not-enough-credits"><a href="https://bido.com/Payments?payfor=bido_credits&return=SubmitDomains">Purchase</a><br></span>
2679 <span class="edit">Edit<br></span>
2680 <span class="save">Save</span>
2681 </span>
2682 </td>
2683 </tr>
2684 </tbody>
2685 </table>
2686 </div>
2687 <span class="credits-amount">
2688 Credits available: <span class="user-credits-amount"></span>
2689 Price to list: <span class="price-to-list"></span>
2690 </span>
2691 <span class="submit-link submit-link-zip-upload">I'm Ready, Submit My Listing<span class="s">s</span></span>
2692 <p class="owner-verification">Ownership verification is required and you will be sent more details after confirmation.</p>
2693 </div>
2694 <div class="step-4 submit-steps-content">
2695 <h2><b>Step 4</b>: Confirmation</h2>
2696 <span class="one-submitted">Domain has been submitted successfully.<br><span class="new-submission">Submit another domain</span><br><br>The next step is to verify ownership of your submitted domain.<br>Please visit your <a id="one-submitted-link" href=/UserDomains>Submitted Domains</a><a id="one-submitted-link-bin" style="display:none;" href=/Portfolio>Buy-Now/Offer-Pages</a> page and follow the steps to validate ownership.<br>You have also been sent an email with more information, please check your inbox for a verification link sent to the admin contact of the domain you submitted.</span>
2697 <span class="multiple-submitted">Domains have been submitted successfully.<br><span class="new-submission">Submit another domain</span><br><br>The next step is to verify ownership of your submitted inventory.<br>Please visit your <a class="multiple-submitted-link" style="display:none;" href=/UserDomains>Submitted Domains</a><a class="multiple-submitted-link-bin" style="display:none;" href=/Portfolio>Buy-Now/Offer-Pages</a> page and follow the steps to validate ownership.<br>You have also been sent an email with more information, please check your inbox for a verification link sent to the admin contact of the domains you submitted.</span>
2698 </div>
2699 </div><!-- Zip upload steps -->
2700
2701 </div></div></div></div></div></div>
2702 </div>
2703
2704 <div class="navigation-buttons clearfix">
2705 <div title="Back" class="prev-step-button"><< Back</div>
2706 <div title="Next" class="next-step-button">Next >></div>
2707 </div>
2708 <div class="contact-support">Free submissions for auction today: <span id="submission_counter">101</span> remaining. <span id="submission_reset"></span>
2709 If you have any questions about the <br><a href=Info/FAQ#How_many_domains_may_I_list_on_Bido_for_auction_for_free target="_blank">listing process</a>, please <a href=http://support.bido.com target="_blank">click here</a> to contact support. (link opens in new window). </div>
2710 </form>
2711 </div>
2712</div>
2713 <div id="editTextarea" class="edit-textarea popup-window popup-body">
2714 <input class="png close-button" type="image" alt="Close" src="http://static-orig.bido.com/images/buttons/close.png" class="close-png" onmouseover="this.src='http://static-orig.bido.com/images/buttons/close_hover.png';" onmouseout="this.src='http://static-orig.bido.com/images/buttons/close.png';">
2715 <div style="padding: 18px 8px 50px;">
2716 <textarea style="width: 280px; height: 152px;"></textarea>
2717 </div>
2718 <div style="position: absolute; right: 14px; bottom: 14px;">
2719 <input type="image" value="Save" src="http://static-orig.bido.com/images/buttons/save.gif" style="cursor: pointer" class="save">
2720 </div>
2721</div>
2722
2723<div id="fileUpload" class="file-upload popup-window popup-body">
2724 <input class="png close-button" type="image" alt="Close" src="http://static-orig.bido.com/images/buttons/close.png" class="close-png" onmouseover="this.src='http://static-orig.bido.com/images/buttons/close_hover.png';" onmouseout="this.src='http://static-orig.bido.com/images/buttons/close.png';">
2725 <div style="padding: 18px 8px 10px;">
2726 <p>Upload image for <span class='domain-name'></span></p>
2727 <div class="upload-button text-button" style="margin-top: 5px;">Upload</div>
2728 </div>
2729</div>
2730
2731<div class="popup-window popup-body csv-with-image" style="z-index: 1001;">
2732 <input class="png close-button" type="image" alt="Close" src="http://static-orig.bido.com/images/buttons/close.png" class="close-png" onmouseover="this.src='http://static-orig.bido.com/images/buttons/close_hover.png';" onmouseout="this.src='http://static-orig.bido.com/images/buttons/close.png';">
2733 <div style="padding: 18px 8px;">
2734 <p>You indicated you wished to include images, however you uploaded a CSV instead of a ZIP archive. You must put the images you wish to upload into a ZIP archive along with your CSV and upload them together so they can be parsed out.</p>
2735 <p><a href="javascript:void(0);" class="ignore">Skip this error and continue anyway (you may upload the pictures individually later)</a></p>
2736 <p><a href="javascript:void(0);" class="fix">Cancel upload, I'll try again later when I create the proper ZIP archive</a></p>
2737 </div>
2738</div>
2739
2740<div class="popup-window popup-body wizard-one-failure" style="z-index: 1001;">
2741 <input type="image" alt="Close" src="http://static-orig.bido.com/images/buttons/close.png" class="close-png" onmouseover="this.src='http://static-orig.bido.com/images/buttons/close_hover.png';" onmouseout="this.src='http://static-orig.bido.com/images/buttons/close.png';">
2742 <div style="padding: 18px 8px;">
2743 <p>Are you sure you wish to go to the next step? You had 1 error, please check your submissions carefully and click the respective "?" to read about the error. For your convenience, the entry at the top of the list was the one that was erroneous.</p>
2744 <p><a href="javascript:void(0);" class="fix">Let me fix my error</a></p>
2745 <p><a href="javascript:void(0);" class="ignore">Ignore the error and submit the rest</a></p>
2746 </div>
2747</div>
2748
2749<div class="popup-window popup-body wizard-multiple-failures" style="z-index: 1001;">
2750 <input class="png close-button" type="image" alt="Close" src="http://static-orig.bido.com/images/buttons/close.png" class="close-png" onmouseover="this.src='http://static-orig.bido.com/images/buttons/close_hover.png';" onmouseout="this.src='http://static-orig.bido.com/images/buttons/close.png';">
2751 <div style="padding: 18px 8px;">
2752 <p>Are you sure you wish to go to the next step? You had <span class="fail_count"></span> errors, please check your submissions carefully and click the respective "?" to read about the errors. For your convenience, the entries at the top of the list were the ones that were erroneous.</p>
2753 <p><a href="javascript:void(0);" class="fix">Let me fix my errors</a></p>
2754 <p><a href="javascript:void(0);" class="ignore">Ignore the errors and submit the rest</a></p>
2755 </div>
2756</div>
2757
2758<div class="popup-body popup-window authorization-window">
2759 <input class="png close-button" type="image" alt="Close" src="http://static-orig.bido.com/images/buttons/close.png" class="close-png" onmouseover="this.src='http://static-orig.bido.com/images/buttons/close_hover.png';" onmouseout="this.src='http://static-orig.bido.com/images/buttons/close.png';">
2760 <div style="padding: 10px; margin: 5px; margin-bottom: 0;">
2761 <div class="greenBar">
2762 <div class="left"></div>
2763 <span class="title" style="width: 90%;">Authorization</span>
2764 <div class="right"></div>
2765 <div class="ui-drag-bar"></div>
2766 </div>
2767 <div style="margin: 15px 0 5px 0; font-weight: bold;">Select type:</div>
2768 <label><input type="radio" name="authorization-type" value="credit-card" checked> Credit card</label><br>
2769 <label><input type="radio" name="authorization-type" value="paypal"> Paypal</label><br><br>
2770 <input class="cursor authorizate" type="image" src="http://static-orig.bido.com/images/buttons/ok.gif" alt="OK">
2771 <input class="cursor cancel" type="image" src="http://static-orig.bido.com/images/buttons/cancel.gif" alt="Cancel">
2772 </div>
2773</div>
2774<!--a name="top"></a-->
2775<div class="submit_domain_left_bar">
2776 <div class="main_top"><!-- --></div>
2777 <div class="greenBar">
2778 <div class="left"><!-- --></div>
2779 <div class="right"><!-- --></div>
2780 <span class="title">Listing form</span>
2781 </div>
2782
2783 <div style="background-color: transparent; background-image: url("/images/orange_top.gif"); background-repeat: repeat-x; background-attachment: scroll; background-position: left top; -moz-background-size: auto auto; position: relative; height: 37px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: 12px;">
2784<div style="background-color: transparent; background-image: url("/images/orange_left_top.gif"); background-repeat: no-repeat; background-attachment: scroll; background-position: left top; -moz-background-size: auto auto; float: left; width: 4px; height: 37px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><!-- --></div>
2785
2786<div style="padding: 3px 10px 0pt 7px; float: left;">
2787<h4>Submit your domains</h4>
2788</div>
2789
2790<div style="background-color: transparent; background-image: url("/images/orange_right_top.gif"); background-repeat: no-repeat; background-attachment: scroll; background-position: right top; -moz-background-size: auto auto; float: right; width: 4px; height: 37px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><!-- --></div>
2791</div>
2792
2793<div style="clear: both; padding-left: 10px;">If you have domain names that you would like to submit into our domain auctions, please click the icon to start the submission wizard. Domains that make it to auction are voted on by the Bido Community. You may skip the voting process and <a href="http://www.bido.com/AuctionAcceleration" target="_blank">accelerate your domains to auction</a> by using <a href="http://www.bido.com/Info/BidoCredits" target="_blank">BidoCredits</a>.<br />
2794<br />
2795<strong>In the rare event that you may have any trouble with your submissions, please fill a <a href="http://support.bido.com" target="_blank">support ticket</a> and we will list your domains manually for you. Also, we will do verifications for you if they get stuck, you do not need to write us about this. We are currently upgrading some of the systems and appreciate your understanding. </strong>
2796
2797<form class="SubmitDomain unsavedChangesForm" name="domainform" onsubmit="overviewDomains(); return false;"><input alt="Wizard" class="submit-wizard-button" onclick="return false;" src="http://www.bido.com/images/wizard/submission_form_wizard.png" style="padding: 0px; background: none repeat scroll 0% 0% transparent; -moz-background-inline-policy: continuous; width: 157px; height: 24px;" type="image" /> </form>
2798
2799<div style="text-align: right; vertical-align: top; padding-right: 7px;"> </div>
2800</div>
2801
2802<div class="form"><!-- --></div>
2803
2804<h3 style="padding-left: 20px; padding-bottom: 10px; padding-top: 10px;">Guidelines for auctions:</h3>
2805
2806<table border="0" cellpadding="0" cellspacing="0" style="margin: 0px 0px 15px;">
2807 <tbody>
2808 <tr>
2809 <td align="center" width="49"><img src="http://www.bido.com/images/upload/globe.gif" /></td>
2810 <td style="padding-left: 16px;"><strong>Valid Domain Name Extensions</strong><br />
2811 Bido accepts all ccTLDs (.de, .co.uk, .in, etc.), gTLDs (.com, .net, .org, .info, .biz), and some sTLDs (.mobi, .name, .pro, .asia) for auction. Adult domains are allowed, however we ask that you categorize your adult domains in the adult category properly.</td>
2812 </tr>
2813 <tr>
2814 <td height="20"><!-- --></td>
2815 </tr>
2816 <tr>
2817 <td align="center"><img src="http://www.bido.com/images/list.gif" /></td>
2818 <td style="padding-left: 16px;"><strong>Short Generics Preferred</strong><br />
2819 As a general guideline, it's best to submit only one or two word generic domain names. Exceptions would be a two letter/character .com, or a three digit.com. <br />
2820 <a href="http://www.bido.com/Info/Free+Submission%3A+Restrictions" target="_blank">Some restrictions on the free submission for auction apply</a>.</td>
2821 </tr>
2822 <tr>
2823 <td height="20"><!-- --></td>
2824 </tr>
2825 <tr>
2826 <td align="center"><img src="http://www.bido.com/images/sale.gif" /></td>
2827 <td style="padding-left: 16px;"><strong>BidoPrice = The Price Of Engagement</strong><br />
2828 You specify your <a href="http://www.bido.com/Info/BidoPrice" target="_blank">BidoPrice</a> anywhere from $9 on up. The community <a href="http://www.bido.com/VoteForProfits">votes on what goes to auction</a>, based on the item and it's BidoPrice.</td>
2829 </tr>
2830 <tr>
2831 <td height="20"><!-- --></td>
2832 </tr>
2833 <tr>
2834 <td align="center"><img src="http://www.bido.com/images/upload/bullseye.gif" /></td>
2835 <td style="padding-left: 16px;"><strong>Select Your BidoPrice Accurately</strong><br />
2836 Bido recommends pricing your domains with an accurate <a href="http://www.bido.com/Info/BidoPrice" target="_blank">BidoPrice</a>. Since domains are voted on if they go to auction, it's your responsibility to price your domains accurately so that they get voted on, subsequently make it to auction, and attract bidders. The more bidders, the more pressure, and the better chance for bidding wars.</td>
2837 </tr>
2838 <tr>
2839 <td height="20"><!-- --></td>
2840 </tr>
2841 <tr>
2842 <td align="center"><img src="http://www.bido.com/images/upload/no-rain.jpg" /></td>
2843 <td style="padding-left: 16px;"><strong>BidoPrice Gives Buyers And Sellers Full Control</strong><br />
2844 Bido allows the sale of domains at any price level above our minimum starting <a href="http://www.bido.com/Info/BidoPrice">BidoPrice</a> of $9. The BidoPrice system allows you to ensure that your domain is guaranteed to not sell at a drastically low price. In addition, if the auction closes and your BidoPrice isn't met, Bido automatically gives you the option to log in and click to accept the highest bid within 24 hours of the auction close. BidoPrice gives buyers full control because while your domain is up for voting, any prospective bidder may place a prebid and instantly send the domain to auction. Next to the Vote icon is a Bid icon, and a preliminary bid is essentially considered as enough votes to go to auction.</td>
2845 </tr>
2846 <tr>
2847 <td height="20"><!-- --></td>
2848 </tr>
2849 <tr>
2850 <td align="center"><img src="http://www.bido.com/images/upload/pricing.jpg" /></td>
2851 <td style="padding-left: 16px;"><strong>Fee Schedule</strong><br />
2852 The <a href="http://www.bido.com/Info/House+Rules+and+Fees" target="_blank">Bido commission</a> is a percentage of the sale amount for all sales (applicable only to successful sales), there are no minimal fees. It's free to submit domains for voting to go to auction. Should you wish to skip voting, after you submit your domains, you may <a href="http://www.bido.com/AuctionAcceleration" target="_blank">accelerate your listings to auction</a> by using <a href="http://www.bido.com/Info/BidoCredits" target="_blank">BidoCredits</a>. The fee structure to accelerate your listing to auction (should you not want to wait for votes) is 0.01 BidoCredits per each $10 of your selected <a href="http://www.bido.com/Info/BidoPrice" target="_blank">BidoPrice</a>). If your auction ends with a winner, the BidoCredits are returned back to your account for reuse later.<br />
2853 <br />
2854 If the auction closes with bids and your BidoPrice isn't met, Bido gives you the option to log in and click to accept the highest bid within 24 hours of the auction close. Bidders are bound to honor their highest bid for 24 hours of the closing time of the auction, even if the BidoPrice is not met. This gives you a fallback option to sell your domain even if the price level did not meet your initial expectations. In addition, if you select the highest bid within 24 hours, any acceleration BidoCredits you may have used are returned back to you.</td>
2855 </tr>
2856 </tbody>
2857</table>
2858
2859<h3 style="padding-left: 20px; padding-bottom: 10px; padding-top: 10px;">What's Next?</h3>
2860
2861<div style="clear: both; padding-left: 10px;">Carefully read the emails that Bido will send you. We send instructions (and reminders if necessary) about any actions you need to take with your listings. At each step of the way, we'll send you emails with important information to walk you through the process and show you what to do next. Our platform is designed to make it quite simple to buy and sell, once you get started you will see just how easy it is. And we're here to help.<br />
2862<br />
2863After you submit your domains, you'll be instructed via email about how to verify ownership of your domains. Once verified, the Bido community votes on what goes to auction. When your domain receives enough votes, you'll be contacted to setup your auction (or it will be setup automatically for you if it gets a bid, as well as if you have <a href="/SellingPreferences" target="_blank">autolist</a> enabled and it gets enough votes). If you do not want to wait for votes, you may wish to consider <a href="/AuctionAcceleration" target="_blank">auction acceleration</a>.<br />
2864 </div>
2865
2866<h3 style="padding-left: 20px; padding-bottom: 10px; padding-top: 10px;"><a name="login" style="color: black;">Ready to get started?</a></h3>
2867
2868<div style="clear: both; padding-left: 10px;">Click the icon below to start the submission wizard.</div>
2869 <form class="SubmitDomain unsavedChangesForm" onSubmit="overviewDomains(); return false;" name="domainform">
2870 <table style="width: 100%; font-size: 12px; line-height: normal; margin: 5px 0;">
2871 <tr>
2872 <td style="width: 190px; vertical-align: top; padding-right: 7px;">
2873 </td>
2874 <td style="text-align: right; vertical-align: top; padding-right: 7px;">
2875 <input type="image" src="http://static-orig.bido.com/images/wizard/submission_form_wizard.png" alt="Wizard" style="background: none; width: 157px; height: 24px; padding: 0;" class="submit-wizard-button" onclick="return false;">
2876 </td>
2877 </tr>
2878 </table>
2879 </form>
2880 <div class="main_bottom"><!-- --></div>
2881</div>
2882<div class="submit_domain_right_bar">
2883 <div style="width: 284px; height: 10px; background: url(http://static-orig.bido.com/images/right_bar_top.gif) no-repeat;"><!-- --></div>
2884 <div style="padding: 0 12px; font-size: 12px; line-height: normal;">
2885 <center><a href="http://www.bido.com/Info/BidoPrice"><br><img src="http://www.bido.com/images/upload/logo_small.gif" border="0"></a>
2886<div style="margin-top: 12px;"><strong><span style="text-decoration: underline;">THE PRICE OF ENGAGEMENT</span></strong></div></center>
2887
2888<div style="margin-top: 12px;">Your <a href="http://www.bido.com/Info/BidoPrice">BidoPrice</a> is the absolute minimum price that you as seller will accept in order to sell your item in auction. When you select your BidoPrice, you should select an appealing price level that will encourage bidders to become engaged and participate. It's when bidders initially become engaged in an auction that will build pressure to the point where it gets heated and the auction is maximized for the seller. A successful auction has not one bidder but two or more. Use your BidoPrice to encourage bidders to engage early and attract subsequent bidding wars. <a href="http://www.bido.com/Info/BidoPrice">Learn more</a> <br><br></div>
2889<img src="http://www.bido.com/images/upload/submited_right_image.jpg" style="margin-top: 12px;"><br>
2890<div style="font-size: 18px; margin-top: 12px;">In-Demand Auction Events<br></div>
2891<div style="margin-top: 12px;">Bido's listing format ensures that items that are in demand will go to auction. If you have inventory to divest and attract the maximum liquid value for your domains, Bido is here to help.</div>
2892
2893
2894<div style="margin-top: 12px;"><div style="margin-top: 12px;">We encourage you to view our complete <a href="http://www.bido.com/SalesArchive">Auction Archive</a>.
2895
2896<br><br>Wondering what type of domains you should submit to Bido? Please watch this informative video about listing domains on Bido: <br><br>
2897<object height="212" width="256"><param name="movie" value="http://www.youtube.com/v/Vu4xfyGnH0c&hl=en&fs=1&rel=0&color1=0x402061&color2=0x9461ca"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/Vu4xfyGnH0c&hl=en&fs=1&rel=0&color1=0x402061&color2=0x9461ca" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" height="212" width="256"></object>
2898
2899
2900
2901
2902<br><br>Once your auction is setup, here's some marketing tips we encourage you to utilize: <br><br>
2903<object height="212" width="256"><param name="movie" value="http://www.youtube.com/v/oJ080Obzj3c&hl=en&rel=0&fs=1&color1=0x402061&color2=0x9461ca"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/oJ080Obzj3c&hl=en&rel=0&fs=1&color1=0x402061&color2=0x9461ca" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" height="212" width="256"></object>
2904<br></div>
2905
2906 </div> </div>
2907 <div style="width: 284px; height: 10px; background: url(http://static-orig.bido.com/images/right_bar_bottom.gif) no-repeat;"><!-- --></div>
2908</div>
2909<a name="login"></a>
2910
2911 <div style="clear:both"></div>
2912</div>
2913</div></div>
2914<footer>
2915 <div class="footer">
2916 <a href="http://bido.com/LiveAuctions" title="Live Auctions">Live Auctions</a> |
2917 <a href="http://bido.com/BIN" title="New Listings">New Listings</a> |
2918 <a href="http://bido.com/AdvancedSearch" title="Search Domains">Search Inventory</a> |
2919 <span>Submit Domains</span> |
2920 <a href="http://support.bido.com" title="Support">Support</a> |
2921 <a href="http://forum.bido.com">Forum</a> |
2922 <a href="http://blog.bido.com" title="Blog" target="_blank">Blog</a> | <a href="http://bido.com/SalesArchive" title="Sales Archive">Sales Archive</a> |
2923 <a href="http://bido.com/Info/About+Us" title="About Us">About Us</a> | <a href="http://bido.com/Info/Affiliate+Program" title="Affiliate Program">Affiliate Program</a> | <a href="http://bido.com/Info/Auction+Schedule" title="Auction Schedule">Auction Schedule</a> | <a href="http://bido.com/Info/Banners" title="Banners">Banners</a> | <a href="http://bido.com/Info/BidoCredits" title="BidoCredits">BidoCredits</a> | <a href="http://bido.com/Info/BidoPrice" title="BidoPrice">BidoPrice</a> | <a href="http://bido.com/Info/Contact+Us" title="Contact Us">Contact Us</a> | <a href="http://bido.com/Info/Domain+Parking" title="Domain Parking">Domain Parking</a> | <a href="http://bido.com/Info/FAQ" title="FAQ">FAQ</a> | <a href="http://bido.com/Info/House+Rules+and+Fees" title="House Rules and Fees">House Rules and Fees</a> | <a href="http://bido.com/Info/Marketing+Tips" title="Marketing Tips">Marketing Tips</a> | <a href="http://bido.com/Info/Partners" title="Partners">Partners</a> | <a href="http://bido.com/Info/Testimonials" title="Testimonials">Testimonials</a> | <a href="http://bido.com/Info/Tools%2C+Apps+and+API" title="Tools, Apps and API">Tools, Apps and API</a> | <a href="http://bido.com/VoteForProfits" title="Vote For Profits">Vote For Profits</a> <div style="clear:both;text-align:center;">
2924 <span class="copyright">
2925 © 2008-2018 Copyright <a href="http://bido.com/Home">Bido.com</a>. All Rights Reserved. <a href="http://bido.com/BidoTime">Current Bido Time</a>
2926 </span>
2927 </div>
2928 <div class="twitter">
2929 <a href="http://www.twitter.com/Bido" target="_blank"><img alt="Follow Bido on Twitter" src="http://static-orig.bido.com/images/3rd/follow_us-c.png" title="Follow Bido on Twitter"></a>
2930 </div>
2931</div>
2932
2933<script type="text/javascript">
2934var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
2935document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
2936</script>
2937<script type="text/javascript">
2938var pageTracker = _gat._getTracker("UA-19181553-1");
2939pageTracker._initData();
2940pageTracker._trackPageview();
2941</script>
2942</footer>
2943</div>
2944<div id="loading" style="display: none;"><img src="http://static-orig.bido.com/images/ajax_loader.gif" id="loadingImg" alt="Loading..."> Loading...</div>
2945<div id="temporary_node" style="position: absolute; z-index: -1; left: -2000px; top: 0; width: 1000px;"></div>
2946</body>
2947</html>