]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blob - test/fixtures/megaporn/E1LROW6E.html
Added GetOpt option parsing.
[dead/whatever-dl.git] / test / fixtures / megaporn / E1LROW6E.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <HTML>
3
4
5 <link rel="icon" href="http://wwwstatic.megaporn.com/images2/icomp.ico" type="image/x-icon">
6 <link rel="shortcut icon" href="http://wwwstatic.megaporn.com/images2/icomp.ico" type="image/x-icon">
7
8 <HEAD>
9 <TITLE>Megaporn Video</TITLE>
10 <script type="text/javascript" src="swfobject2.js"></script>
11 </HEAD>
12
13 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
14
15
16
17 <link href="mvstyles.css" rel="stylesheet" type="text/css">
18
19
20 <style type="text/css">
21 body
22 {
23 text-align:center;
24 padding:0; margin:0;
25 background-image:url('http://wwwstatic.megarotic.com/video/gui/bg.gif');
26 font-family: arial;
27 font-size: 11px;
28 text-align: left;
29 }
30
31
32 #main
33 {
34 width:997px;
35 position: relative;
36 margin-top:0px;
37 text-align:center;
38 }
39 #mainpage
40 {
41 position:absolute;
42 top:0px; left:0px;
43 width:977px;
44 text-align:left;
45 }
46
47 #mv1
48 {
49 position:absolute;
50 top:3px; left:0px;
51 width:979px; height:204px;
52 }
53 #mv2
54 {
55 position:absolute;
56 top:108px; left:1px;
57 width:977px; height:56px;
58 background-image:url('http://wwwstatic.megarotic.com/video/gui/shadow.gif');
59 }
60
61 a
62 {
63 font-family:arial;
64 }
65
66
67
68 .button
69 {
70 border: 1px solid #F21F77;
71 background-color: #F4F2EB;
72 }
73
74 </style>
75
76
77
78
79 <script type="text/javascript">
80 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
81 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
82 </script>
83 <script type="text/javascript">
84 try {
85 var pageTracker = _gat._getTracker("UA-6383685-2");
86 pageTracker._trackPageview();
87 } catch(err) {}</script>
88
89
90
91 <BODY onresize="resizing();">
92
93
94 <script type="text/javascript">
95 document.domain = 'megaporn.com';
96 </script>
97
98
99
100 <script language="JavaScript" type="text/javascript">
101
102
103
104 function selectLang(idx) {
105 var locale = locales[idx];
106 collapseLandLangPulldown();
107 changelang(idx)
108 }
109
110 function hiLight(langImg, idx, over) {
111 langImg.src = (over) ? langOverImgs[idx].src : langImgs[idx].src;
112 }
113
114 function createTooltip(id) {
115 var tt = document.createElement("DIV");
116 tt.id = id;
117 tt.style.border='none';
118 tt.style.position='absolute';
119 document.body.appendChild(tt);
120 return tt;
121 }
122
123 function findPos(obj) {
124 var curleft = 0;
125 var curtop = 0;
126 if (obj.offsetParent) {
127 curleft = obj.offsetLeft
128 curtop = obj.offsetTop
129 while (obj = obj.offsetParent) {
130 curleft += obj.offsetLeft
131 curtop += obj.offsetTop
132 }
133 }
134 return [curleft,curtop];
135 }
136
137 function getLangPulldownMenu(img) {
138 var pdDiv = createTooltip('langselection');
139 var top = img.clientY;
140 var pos = findPos(img);
141 pdDiv.style.left = (pos[0] + 3) + 'px';
142 pdDiv.style.top = (pos[1]+ 21) + 'px';
143 return pdDiv;
144 }
145
146 function runLangPulldown(img) {
147 var langPulldown = document.getElementById('langselection');
148 if (langPulldown != null) {
149 collapseLandLangPulldown()
150 }
151 else {
152 expandLangPulldown(img);
153 }
154 }
155
156 function collapseLandLangPulldown() {
157 var langPulldown = document.getElementById('langselection');
158 if (langPulldown != null) {
159 langPulldown.style.visibility='hidden';
160 document.body.removeChild(langPulldown);
161 langPulldown = null;
162 }
163 }
164
165 function expandLangPulldown(img) {
166 var langPulldown = getLangPulldownMenu(img);
167 langPulldown.innerHTML=getPulldownHTML();
168 langPulldown.style.visibility='visible';
169 }
170
171 function getPulldownHTML()
172 {
173 var pulldownHTML = '<table cellpadding="0" cellspacing="0" border="0" id="langSelection" class="lang_pulldown">';
174 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
175 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/en.gif" border="0" width="129" height="25" onclick="javascript:selectLang(0)" onMouseOut="javascript:hiLight(this, 0, false)" onMouseOver="javascript:hiLight(this, 0, true)"/></td>');
176 pulldownHTML = pulldownHTML.concat('</tr>');
177 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
178 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/de.gif" border="0" width="129" height="21" onclick="javascript:selectLang(1)" onMouseOut="javascript:hiLight(this, 1, false)" onMouseOver="javascript:hiLight(this, 1, true)"/></td>');
179 pulldownHTML = pulldownHTML.concat('</tr>');
180 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
181 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/fr.gif" border="0" width="129" height="21" onclick="javascript:selectLang(2)" onMouseOut="javascript:hiLight(this, 2, false)" onMouseOver="javascript:hiLight(this, 2, true)"/></td>');
182 pulldownHTML = pulldownHTML.concat('</tr>');
183 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
184 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/es.gif" border="0" width="129" height="21" onclick="javascript:selectLang(3)" onMouseOut="javascript:hiLight(this, 3, false)" onMouseOver="javascript:hiLight(this, 3, true)"/></td>');
185 pulldownHTML = pulldownHTML.concat('</tr>');
186 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
187 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/pt.gif" border="0" width="129" height="21" onclick="javascript:selectLang(4)" onMouseOut="javascript:hiLight(this, 4, false)" onMouseOver="javascript:hiLight(this, 4, true)"/></td>');
188 pulldownHTML = pulldownHTML.concat('</tr>');
189 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
190 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/nl.gif" border="0" width="129" height="21" onclick="javascript:selectLang(5)" onMouseOut="javascript:hiLight(this, 5, false)" onMouseOver="javascript:hiLight(this, 5, true)"/></td>');
191 pulldownHTML = pulldownHTML.concat('</tr>');
192 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
193 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/it.gif" border="0" width="129" height="21" onclick="javascript:selectLang(6)" onMouseOut="javascript:hiLight(this, 6, false)" onMouseOver="javascript:hiLight(this, 6, true)"/></td>');
194 pulldownHTML = pulldownHTML.concat('</tr>');
195 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
196 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/cn.gif" border="0" width="129" height="21" onclick="javascript:selectLang(7)" onMouseOut="javascript:hiLight(this, 7, false)" onMouseOver="javascript:hiLight(this, 7, true)"/></td>');
197 pulldownHTML = pulldownHTML.concat('</tr>');
198 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
199 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/ct.gif" border="0" width="129" height="21" onclick="javascript:selectLang(8)" onMouseOut="javascript:hiLight(this, 8, false)" onMouseOver="javascript:hiLight(this, 8, true)"/></td>');
200 pulldownHTML = pulldownHTML.concat('</tr>');
201 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
202 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/jp.gif" border="0" width="129" height="21" onclick="javascript:selectLang(9)" onMouseOut="javascript:hiLight(this, 9, false)" onMouseOver="javascript:hiLight(this, 9, true)"/></td>');
203 pulldownHTML = pulldownHTML.concat('</tr>');
204 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
205 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/kr.gif" border="0" width="129" height="21" onclick="javascript:selectLang(10)" onMouseOut="javascript:hiLight(this, 10, false)" onMouseOver="javascript:hiLight(this, 10, true)"/></td>');
206 pulldownHTML = pulldownHTML.concat('</tr>');
207 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
208 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/ru.gif" border="0" width="129" height="21" onclick="javascript:selectLang(11)" onMouseOut="javascript:hiLight(this, 11, false)" onMouseOver="javascript:hiLight(this, 11, true)"/></td>');
209 pulldownHTML = pulldownHTML.concat('</tr>');
210 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
211 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/fi.gif" border="0" width="129" height="21" onclick="javascript:selectLang(12)" onMouseOut="javascript:hiLight(this, 12, false)" onMouseOver="javascript:hiLight(this, 12, true)"/></td>');
212 pulldownHTML = pulldownHTML.concat('</tr>');
213 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
214 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/se.gif" border="0" width="129" height="21" onclick="javascript:selectLang(13)" onMouseOut="javascript:hiLight(this, 13, false)" onMouseOver="javascript:hiLight(this, 13, true)"/></td>');
215 pulldownHTML = pulldownHTML.concat('</tr>');
216 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
217 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/dk.gif" border="0" width="129" height="21" onclick="javascript:selectLang(14)" onMouseOut="javascript:hiLight(this, 14, false)" onMouseOver="javascript:hiLight(this, 14, true)"/></td>');
218 pulldownHTML = pulldownHTML.concat('</tr>');
219 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
220 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/tr.gif" border="0" width="129" height="21" onclick="javascript:selectLang(15)" onMouseOut="javascript:hiLight(this, 15, false)" onMouseOver="javascript:hiLight(this, 15, true)"/></td>');
221 pulldownHTML = pulldownHTML.concat('</tr>');
222 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
223 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/sa.gif" border="0" width="129" height="21" onclick="javascript:selectLang(16)" onMouseOut="javascript:hiLight(this, 16, false)" onMouseOver="javascript:hiLight(this, 16, true)"/></td>');
224 pulldownHTML = pulldownHTML.concat('</tr>');
225 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
226 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/vn.gif" border="0" width="129" height="21" onclick="javascript:selectLang(17)" onMouseOut="javascript:hiLight(this, 17, false)" onMouseOver="javascript:hiLight(this, 17, true)"/></td>');
227 pulldownHTML = pulldownHTML.concat('</tr>');
228 pulldownHTML = pulldownHTML.concat('<tr class="lang_pulldown">');
229 pulldownHTML = pulldownHTML.concat('<td class="lang_pulldown"><img src="http://wwwstatic.megaporn.com/video/gui/language_object/pl.gif" border="0" width="129" height="21" onclick="javascript:selectLang(18)" onMouseOut="javascript:hiLight(this, 18, false)" onMouseOver="javascript:hiLight(this, 18, true)"/></td>');
230 pulldownHTML = pulldownHTML.concat('</tr>');
231
232 return pulldownHTML;
233 }
234
235 function autoSenseLang() {
236 try {
237 var url = window.location.href;
238 var locale = getLocale();
239 if (undefined == locale) {
240 return;
241 }
242 if ('en_US' != locale && url.indexOf('/' + locale + '/') == -1) {
243 window.location.href = '/' + locale;
244 }
245 }
246 catch (error) {
247 ;
248 }
249 }
250
251 function getLangFromURL() {
252 var url = window.location.href;
253 var lang = locales[0];
254 for (var i=1; i < locales.length; i++) {
255 if (url.indexOf('/' + locales[i] + '/') != -1) {
256 lang = locales[i];
257 break;
258 }
259 }
260 return lang;
261 }
262
263 function getUnique(max) {
264 var now = new Date();
265 return (now.getMilliseconds() * Math.floor(Math.random()*max+1));
266 }
267
268 function isWin() {
269 return (navigator.platform.indexOf('Win') != -1);
270 }
271
272 function isVista() {
273 return (navigator.userAgent.indexOf("Windows NT 6.0") != -1);
274 }
275
276 function isMac() {
277 return (navigator.platform.indexOf('Mac') != -1);
278 }
279
280 function isLinux() {
281 return (navigator.platform.indexOf('Linux') != -1);
282 }
283
284
285
286
287
288
289 function addCacheBreakerToURL(url) {
290 var ran_number= getUnique(8);
291 var firstLetter = (url.indexOf('?')<0) ? '?' : '&';
292 return url + firstLetter + 'bznetid=' + ran_number;
293 }
294
295
296 function logout()
297 {
298 document.getElementById('logoutform').submit();
299 }
300
301
302
303
304 function changelang(id)
305 {
306 if (id == 0)
307 {
308 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=en';
309 }
310 if (id == 1)
311 {
312 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=de';
313 }
314 if (id == 2)
315 {
316 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=fr';
317 }
318 if (id == 3)
319 {
320 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=es';
321 }
322 if (id == 4)
323 {
324 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=pt';
325 }
326 if (id == 5)
327 {
328 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=nl';
329 }
330 if (id == 6)
331 {
332 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=it';
333 }
334 if (id == 7)
335 {
336 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=cn';
337 }
338 if (id == 8)
339 {
340 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=ct';
341 }
342 if (id == 9)
343 {
344 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=jp';
345 }
346 if (id == 10)
347 {
348 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=kr';
349 }
350 if (id == 11)
351 {
352 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=ru';
353 }
354 if (id == 12)
355 {
356 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=fi';
357 }
358 if (id == 13)
359 {
360 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=se';
361 }
362 if (id == 14)
363 {
364 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=dk';
365 }
366 if (id == 15)
367 {
368 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=tr';
369 }
370 if (id == 16)
371 {
372 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=sa';
373 }
374 if (id == 17)
375 {
376 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=vn';
377 }
378 if (id == 18)
379 {
380 document.location = 'http://www.megaporn.com/video/?v=E1LROW6E&setlang=pl';
381 }
382 }
383 </script>
384
385
386
387 <center>
388 <div style="position:absolute; display:none;">
389 <form method="post" id="logoutform" action="?">
390 <input type="hidden" name="logout" value="1">
391 </form>
392 </div>
393
394
395 <script type="text/javascript">
396 menu1 = new Image(151,29);
397 menu1over = new Image(151,29);
398 menu1over.src = 'http://wwwstatic.megaporn.com/video/mvgui/menu/en/mvmenu_o_01.gif';
399 menu2 = new Image(150,29);
400 menu2over = new Image(150,29);
401 menu2over.src = 'http://wwwstatic.megaporn.com/video/mvgui/menu/en/mvmenu_o_02.gif';
402 menu3 = new Image(150,29);
403 menu3over = new Image(150,29);
404 menu3over.src = 'http://wwwstatic.megaporn.com/video/mvgui/menu/en/mvmenu_o_03.gif';
405 menu4 = new Image(150,29);
406 menu4over = new Image(150,29);
407 menu4over.src = 'http://wwwstatic.megaporn.com/video/mvgui/menu/en/mvmenu_o_04.gif';
408
409
410 flag = new Image(135,28);
411 flagover = new Image(135,28);
412 flagover.src = 'http://wwwstatic.megaporn.com/video/mvgui/language_object/en_a_o.gif';
413 </script>
414
415
416
417
418 <TABLE width="100%" background="http://wwwstatic.megaporn.com/video/mvgui/top_bgr.gif" cellpadding="0" cellspacing="0">
419 <TR>
420 <TD height="80" align="center"><center><div style="position:relative; width:980px; height:80px;">
421
422 <div style="position:absolute; left:0px; top:7px;"><a href="?"><IMG SRC="http://wwwstatic.megaporn.com/video/gui/logo_mprn.gif" WIDTH="305" HEIGHT="39" BORDER="0" ALT=""></a><FORM method="GET" id="searchfrm">
423 <input type="hidden" name="c" value="search"></div>
424
425
426
427
428 <div style="position:absolute; left:622px; top:11px; background-image:url('http://wwwstatic.megaporn.com/video/mvgui/search_field.gif'); width:187px; height:28px;">
429 <div style="position:absolute; left:6px; top:4px;"><input type="text" name="s" style="background-color:#FFFFFF; border:none; width:179px;" value="Search videos" onclick="this.value='';"></div>
430 </div>
431
432 <div style="position:absolute; left:809px; top:11px;">
433 <script type="text/javascript">
434 searchbutton = new Image(35,28);
435 searchbuttono = new Image(35,28);
436 searchbuttono.src = 'http://wwwstatic.megaporn.com/video/mvgui/search_o.gif';
437 </script>
438
439 <div style="position:relative; width:40px; height:28px; cursor:pointer;" onclick="document.getElementById('searchfrm').submit();"><div style="position:absolute; left:0px; top:0px;"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/search.gif" WIDTH="35" HEIGHT="28" BORDER="0" ALT="" onmouseover="searchbutton.src=this.src; this.src=searchbuttono.src;" onmouseout="this.src=searchbutton.src;"></div><div style="position:absolute; left:0px; top:6px; width:40px; text-align:center; font-family:arial; font-size:12px; color:#000000; font-weight:normal; text-decoration:none;"></div></FORM></div>
440
441 </div>
442
443
444 <script type="text/javascript">
445 langbut = new Image(135,28);
446 langbuto = new Image(135,28);
447 langbuto.src = 'http://wwwstatic.megaporn.com/video/mvgui/lang_o.gif';
448 </script>
449
450 <div style="position:absolute; left:845px; top:9px;">
451 <table border="0" cellspacing="0" cellpadding="1">
452 <tr>
453 <td width="140"><table width="100" border="0" align="right" cellpadding="1" cellspacing="0">
454 <tr bgcolor="">
455 <td width="125"><img src="http://wwwstatic.megaporn.com/video/mvgui/language_object/en_a.gif" alt="language" width="135" height="28" border="0" id="selectedLangImg" onclick="javascript:runLangPulldown(this)" onmouseover="langbut.src=this.src; this.src=langbuto.src;" onmouseout="this.src=langbut.src;" /></td>
456 </tr>
457 </table>
458 </td>
459 </tr>
460 </table>
461 </div>
462
463
464
465
466 <div style="position:absolute; left:410px; top:14px; width:200px; text-align:right;"><a href="?s=signup" style="font-family:arial; font-weight:normal; color:#000000; font-size:12px;">Login</a> &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="?s=signup" style="font-family:arial; font-weight:normal; color:#000000; font-size:12px;">Register</a></div>
467
468
469
470
471 <div style="position:absolute; left:190px; top:50px;">
472 <TABLE cellpadding="0" cellspacing="0">
473 <TR>
474 <TD><a href="?c=videos"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/menu/en/mvmenu_01.gif" WIDTH="151" HEIGHT="29" BORDER="0" ALT="" onmouseover="menu1.src=this.src; this.src=menu1over.src;" onmouseout="this.src=menu1.src;"></a></TD>
475 <TD><a href="?c=premium"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/menu/en/mvmenu_02.gif" WIDTH="150" HEIGHT="29" BORDER="0" ALT="" onmouseover="menu2.src=this.src; this.src=menu2over.src;" onmouseout="this.src=menu2.src;"></a></TD>
476 <TD><a href="?c=rewards"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/menu/en/mvmenu_03.gif" WIDTH="150" HEIGHT="29" BORDER="0" ALT="" onmouseover="menu3.src=this.src; this.src=menu3over.src;" onmouseout="this.src=menu3.src;"></a></TD>
477 <TD><a href="?c=upload"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/menu/en/mvmenu_04.gif" WIDTH="150" HEIGHT="29" BORDER="0" ALT="" onmouseover="menu4.src=this.src; this.src=menu4over.src;" onmouseout="this.src=menu4.src;"></a></TD>
478 </TR>
479 </TABLE>
480 </div>
481
482
483
484
485
486 </div></center></TD>
487 </TR>
488 </TABLE>
489
490
491
492 <script type="text/javascript">
493
494
495 var cinmode = '';
496
497 function cinemamode(mode)
498 {
499 if (mode == 1)
500 {
501 // turn on
502 resizecinema();
503 cinmode=1;
504 document.getElementById('playerdiv').style.zIndex = '100';
505 document.getElementById('cinemamenu_on').style.display = 'none';
506 changeOpac(0,'dimlights1');
507 document.getElementById('dimlights1').style.display = '';
508 opacity('dimlights1', 0, 75, 750);
509 setTimeout("document.getElementById('cinemamenu_off').style.display = '';",750);
510 }
511 else
512 {
513 // turn off
514 document.getElementById('cinemamenu_off').style.display = 'none';
515 opacity('dimlights1', 75, 0, 500);
516 setTimeout("document.getElementById('playerdiv').style.zIndex = '0';",750);
517 setTimeout("document.getElementById('dimlights1').style.display='none';",750);
518 setTimeout("document.getElementById('cinemamenu_on').style.display = '';",750);
519 cinmode=0;
520 }
521 }
522
523 function opacity(id, opacStart, opacEnd, millisec) {
524 //speed for each frame
525 var speed = Math.round(millisec / 100);
526 var timer = 0;
527
528 //determine the direction for the blending, if start and end are the same nothing happens
529 if(opacStart > opacEnd) {
530 for(i = opacStart; i >= opacEnd; i--) {
531 setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
532 timer++;
533 }
534 } else if(opacStart < opacEnd) {
535 for(i = opacStart; i <= opacEnd; i++)
536 {
537 setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed));
538 timer++;
539 }
540 }
541 }
542
543 //change the opacity for different browsers
544 function changeOpac(opacity, id) {
545 var object = document.getElementById(id).style;
546 object.opacity = (opacity / 100);
547 object.MozOpacity = (opacity / 100);
548 object.KhtmlOpacity = (opacity / 100);
549 object.filter = "alpha(opacity=" + opacity + ")";
550 }
551
552 function resizecinema()
553 {
554 document.getElementById('dimlights1').style.width = document.body.clientWidth;
555 document.getElementById('dimlights1').style.height = document.body.clientHeight;
556 }
557
558 </script>
559
560
561 <div style="position:absolute; left:0px; top:0px; width:1900px; height:1080px; background-color:#000000; filter:alpha(opacity=70);-moz-opacity:.70;opacity:.70; z-index:1; display:none;" id="dimlights1"></div>
562
563
564
565 <TABLE width="100%" background="http://wwwstatic.megaporn.com/video/mvgui/big_vid_bg.gif" cellpadding="0" cellspacing="0" style="" id="playerbg" bgcolor="#666563">
566 <TR>
567 <TD height="450" align="center" valign="top" style="padding-left:1px;" id="playertd">
568 <center>
569 <div style="position:relative; background-color:#000000; width:800px; height:450px;" id="playerdiv" onmouseout="javascript:playerout();">
570 <div id="playercontainer">
571 <TABLE cellpadding="0" cellspacing="0">
572 <TR>
573 <TD height="450" width="800" align="center" valign="middle">
574 <a href="http://www.adobe.com/go/getflash" target="_blank" style="color:#FFFFFF; font-family:arial; font-size:16px; font-weight:bold; text-decoration:none;">Please upgrade to the latest version of the Adobe Flash player.</font></a><br><br><br>
575 <a href="http://www.adobe.com/go/getflash" target="_blank"><IMG SRC="gui/getflash.gif" WIDTH="158" HEIGHT="39" BORDER="0" ALT=""></a><br><br><br>
576
577 <noscript><div style="color:#FFFFFF; font-family:arial; font-size:16px; font-weight:bold; text-decoration:none; width:700px;">Please enable Javascript/ActiveScripting.<br>Make sure that your browser is not blocking Javascript on this site.</div></noscript>
578 </TD>
579 </TR>
580 </TABLE>
581 </div>
582 </div>
583 </center>
584
585
586 <script type="text/javascript">
587
588 var flashvars = {};
589
590 flashvars.added = "March+19+%2C+2009";
591 flashvars.username = "sexsuni";
592 flashvars.title = "Nude+In+The+Crowd";
593 flashvars.description = "She+is+walking+nude+in+the+crowd.+Its+so+funny+to+see+the+reaction+of+the+people+around+her+hahaha..";
594 flashvars.views = "52090";
595 flashvars.comments = "3";
596 flashvars.favorited = "25";
597 flashvars.category = "Hardcore";
598 flashvars.tags = "Nude+In+the+Public";
599 flashvars.rating = "100";
600 flashvars.des01 = "Show details";
601 flashvars.des02 = "Embed video";
602 flashvars.des03 = "Show URL of video";
603 flashvars.des04 = "Upload new video";
604 flashvars.des05 = "Download original";
605 flashvars.des06a = "Switch to fullscreen mode";
606 flashvars.des06b = "Switch to window mode";
607 flashvars.des07a = "Switch to 4:3";
608 flashvars.des07b = "Switch to 16:9";
609 flashvars.des07c = "Switch to original aspect ratio";
610 flashvars.des08 = "Comment on this video";
611 flashvars.des09 = "Open chat - coming soon";
612 flashvars.des10 = "Email to a friend";
613 flashvars.des11a = "Save to favorites";
614 flashvars.des11b = "Save to favorites (log in)";
615 flashvars.des12 = "Advertising";
616 flashvars.cancel = "Cancel";
617 flashvars.ok = "Ok";
618 flashvars.close = "close";
619 flashvars.send = "Send";
620 flashvars.det01 = "Poor";
621 flashvars.det02 = "Nothing special";
622 flashvars.det03 = "Worth watching";
623 flashvars.det04 = "Pretty cool";
624 flashvars.det05 = "Excellent";
625 flashvars.det06 = "Thank you for rating";
626 flashvars.det07 = "You must be logged in to rate";
627 flashvars.det08 = "An error occured processing your vote";
628 flashvars.det09 = "Added";
629 flashvars.det10 = "By";
630 flashvars.det11 = "Views";
631 flashvars.det12 = "Comments";
632 flashvars.det13 = "Favored";
633 flashvars.det14 = "Category";
634 flashvars.det15 = "Tags";
635 flashvars.det16 = "Rate this video";
636 flashvars.det17 = "Added to favorites";
637 flashvars.det18 = "Save to favorites";
638 flashvars.det19 = "Flag as inappropriate";
639 flashvars.det20 = "Download original";
640 flashvars.dfi01 = "An error occured";
641 flashvars.dfi02 = "A security error occured";
642 flashvars.dfi03 = "Downloading ";
643 flashvars.dfi04 = "URL of file";
644 flashvars.dfi05 = "External download";
645 flashvars.dfi06 = "Download in player";
646 flashvars.dfi07 = "Re-download";
647 flashvars.dfi08 = "Retry";
648 flashvars.over1 = "You have watched ";
649 flashvars.over2a = " minute of video today.";
650 flashvars.over2b = " minutes of video today.";
651 flashvars.over3 = "Please wait ";
652 flashvars.over4a = " minute or click here to enjoy unlimited use of Megaporn.";
653 flashvars.over4b = " minutes or click here to enjoy unlimited use of Megaporn.";
654 flashvars.emb01 = "Click on the following HTML code to copy it into clipboard and -paste it to your site's HTML code.";
655 flashvars.emb02 = "Embedding disabled by video owner.";
656 flashvars.stf01 = "Please check your email address";
657 flashvars.stf02 = "Please check recepient's email address";
658 flashvars.stf03 = "Your email was successfully sent.";
659 flashvars.stf04 = "An error occured, please try again later.";
660 flashvars.stf05 = "Friend's e-mail";
661 flashvars.stf06 = "Your email";
662 flashvars.stf07 = "Your message";
663 flashvars.fav01 = "Do you wish to add this video to your favorites?";
664 flashvars.fav02 = "Processing, please wait...";
665 flashvars.fav03 = "Added to favorites";
666 flashvars.fav04 = "An error occured, please try again later.";
667 flashvars.com01 = "Post new comment";
668 flashvars.com02 = "Back to video";
669 flashvars.com03 = "Loading data, please wait";
670 flashvars.com04 = "Enter your comment";
671 flashvars.com05 = "Comment posted.";
672 flashvars.com06 = "An error occured, please try again later.";
673 flashvars.com07 = "Processing, please wait";
674 flashvars.com08 = "Characters left: ";
675 flashvars.com09 = "This video has not been commented yet.";
676 flashvars.copycode = "copy code";
677 flashvars.latin = "1";
678 /* flashvars.detailslatin = ""; */
679 flashvars.embed = "%3Cobject+width%3D%22640%22+height%3D%22480%22%3E%3Cparam+name%3D%22movie%22+value%3D%22http%3A%2F%2Fwww.megaporn.com%2Fe%2F92307a2d8239362a40d18bebfa72e4e5%22%3E%3C%2Fparam%3E%3Cparam+name%3D%22allowFullScreen%22+value%3D%22true%22%3E%3C%2Fparam%3E%3Cembed+src%3D%22http%3A%2F%2Fwww.megaporn.com%2Fe%2F92307a2d8239362a40d18bebfa72e4e5%22+type%3D%22application%2Fx-shockwave-flash%22+allowfullscreen%3D%22true%22+width%3D%22640%22+height%3D%22480%22%3E%3C%2Fembed%3E%3C%2Fobject%3E";
680 flashvars.un = "71eef99c126511b92b770d654ecd25c8";
681 flashvars.k1 = "63233";
682 flashvars.k2 = "185149";
683 flashvars.s = "118";
684 flashvars.v = "E1LROW6E";
685
686
687 var params = {};
688
689 params.scale = "noscale";
690 params.salign = "tl";
691 params.wmode = "transparent";
692 params.swliveconnect = "true";
693 params.allowscriptaccess = "always";
694 params.allowfullscreen = "true";
695
696 var attributes = {};
697
698 attributes.id = "mvplayer";
699 swfobject.embedSWF("http://wwwstatic.megaporn.com/video/mv_player.swf", "playercontainer", "800", "450", "8", false, flashvars, params, attributes);
700
701
702 document.relatedloaded=false;
703 document.largeplayer=true;
704 function showrelated()
705 {
706 document.getElementById('embed_html').style.display='none';
707
708 if (document.relatedloaded == false)
709 {
710 document.getElementById('loading_ico').style.display = '';
711 document.getElementById('relatedfrm').submit();
712 }
713 else
714 {
715 document.getElementById('related_html').style.display = '';
716 document.getElementById('related_header').style.display = '';
717 }
718 }
719 function closerelated()
720 {
721 document.getElementById('related_html').style.display = 'none';
722 document.getElementById('related_header').style.display = 'none';
723 }
724 function adjustplayer()
725 {
726 if (document.largeplayer)
727 {
728 document.getElementById('mvplayer').width = '640';
729 document.getElementById('playerdiv').style.width = '640';
730 document.getElementById('playerdiv').style.height = '360';
731 document.getElementById('mvplayer').height = '360';
732 document.getElementById('playertd').height = '360';
733 document.getElementById('menutd1').width = '157';
734 document.getElementById('menutd2').width = '157';
735 document.getElementById('menutd3').width = '157';
736 document.getElementById('menutd4').width = '157';
737 document.getElementById('menudiv4').style.width = '157';
738 document.getElementById('menubg').background = 'http://wwwstatic.megaporn.com/video/mvgui/under_small.gif';
739 document.largeplayer=false;
740
741 document.getElementById('playersizetxt').innerHTML = 'Big player';
742
743 document.getElementById('playerbg').background = 'http://wwwstatic.megaporn.com/video/mvgui/small_vid_bg.gif';
744
745 }
746 else
747 {
748 document.getElementById('mvplayer').width = '800';
749 document.getElementById('playerdiv').style.width = '800';
750 document.getElementById('playerdiv').style.height = '450';
751 document.getElementById('mvplayer').height = '450';
752 document.getElementById('playertd').height = '450';
753 document.getElementById('menutd1').width = '197';
754 document.getElementById('menutd2').width = '197';
755 document.getElementById('menutd3').width = '197';
756 document.getElementById('menutd4').width = '197';
757 document.getElementById('menudiv4').style.width = '197';
758 document.getElementById('menubg').background = 'http://wwwstatic.megaporn.com/video/mvgui/under_big.gif';
759 document.largeplayer=true;
760
761 document.getElementById('playersizetxt').innerHTML = 'Small player';
762
763 document.getElementById('playerbg').background = 'http://wwwstatic.megaporn.com/video/mvgui/big_vid_bg.gif';
764 }
765 }
766
767 function embedvideo()
768 {
769 document.getElementById('related_html').style.display='none';
770 document.getElementById('related_header').style.display='none';
771 document.getElementById('embed_html').style.display='';
772 }
773
774 function embedclose()
775 {
776 document.getElementById('related_html').style.display='none';
777 document.getElementById('related_header').style.display='none';
778 document.getElementById('embed_html').style.display='none';
779 }
780
781 function resizing()
782 {
783 if (cinmode == 1)
784 {
785 resizecinema();
786 }
787 }
788
789 function playerout()
790 {
791 if (document.getElementById('mvplayer').hideNavigation)
792 {
793 document.getElementById('mvplayer').hideNavigation();
794 }
795 }
796
797 </script>
798
799 </TD>
800 </TR>
801 </TABLE><TABLE width="100%" background="http://wwwstatic.megaporn.com/video/mvgui/vpage_bg.gif" cellpadding="0" cellspacing="0" style="margin-top:0px;">
802 <TR>
803 <TD height="40" align="center" valign="top" style="padding-left:1px;">
804
805
806 <TABLE background="http://wwwstatic.megaporn.com/video/mvgui/under_big.gif" cellpadding="0" cellspacing="0" id="menubg">
807 <TR>
808 <TD width="197" align="center" valign="middle" height="33" id="menutd1">
809 <TABLE cellpadding="0" cellspacing="0">
810 <TR>
811 <TD height="25"><a href="javascript:adjustplayer();"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/under_ico1.gif" WIDTH="17" HEIGHT="12" BORDER="0" ALT=""></a>&nbsp;</TD>
812 <TD><a href="javascript:adjustplayer();" style="font-size:12px; color:#000000; text-decoration:none; font-weight:normal;" id="playersizetxt">Small player</a></TD>
813 </TR>
814 </TABLE>
815 </TD>
816 <TD width="4" align="center" valign="middle"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/devider.gif" WIDTH="1" HEIGHT="19" BORDER="0" ALT=""></TD>
817 <TD width="197" align="center" valign="middle" id="menutd2">
818 <TABLE cellpadding="0" cellspacing="0">
819 <TR>
820 <TD height="25" style="padding-top:2px;"><a href="javascript:embedvideo();"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/under_ico2.gif" WIDTH="14" HEIGHT="15" BORDER="0" ALT=""></a>&nbsp;</TD>
821 <TD><a href="javascript:embedvideo();" style="font-size:12px; color:#000000; text-decoration:none; font-weight:normal;">Embed video</a></TD>
822 </TR>
823 </TABLE>
824 </TD>
825 <TD width="4" align="center" valign="middle"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/devider.gif" WIDTH="1" HEIGHT="19" BORDER="0" ALT=""></TD>
826 <TD width="197" align="center" valign="middle" id="menutd3">
827 <TABLE cellpadding="0" cellspacing="0">
828 <TR>
829 <TD height="25" style="padding-top:2px;"><a href="javascript:showrelated();"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/under_ico3.gif" WIDTH="16" HEIGHT="14" BORDER="0" ALT=""></a>&nbsp;</TD>
830 <TD><a href="javascript:showrelated();" style="font-size:12px; color:#000000; text-decoration:none; font-weight:normal;">Related videos</a></TD>
831 </TR>
832 </TABLE>
833 </TD>
834 <TD width="4" align="center" valign="middle"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/devider.gif" WIDTH="1" HEIGHT="19" BORDER="0" ALT=""></TD>
835 <TD width="197" align="center" valign="middle" id="menutd4">
836 <div style="position:relative; width:197px; height:25px; z-index:10;" id="menudiv4">
837 <TABLE cellpadding="0" cellspacing="0" id="cinemamenu_on">
838 <TR>
839 <TD height="25"><a href="javascript:cinemamode(1);"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/under_ico4.gif" style="" WIDTH="16" HEIGHT="12" BORDER="0" ALT=""></a>&nbsp;</TD>
840 <TD><a href="javascript:cinemamode(1);" style="font-size:12px; color:#000000; text-decoration:none; font-weight:normal;">Cinema on</a></TD>
841 </TR>
842 </TABLE>
843 <TABLE cellpadding="0" cellspacing="0" id="cinemamenu_off" style="display:none;">
844 <TR>
845 <TD height="25"><a href="javascript:cinemamode(0);"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/under_ico4b.gif" style="" WIDTH="16" HEIGHT="12" BORDER="0" ALT=""></a>&nbsp;</TD>
846 <TD><a href="javascript:cinemamode(0);" style="font-size:12px; color:#8F8F8F ; text-decoration:none; font-weight:normal;">Cinema off</a></TD>
847 </TR>
848 </TABLE>
849 </div>
850 </TD>
851 </TR>
852 </TABLE>
853
854
855 <div style="position:relative; width:600px; height:60px; display:none;" id="loading_ico">
856 <div style="position:absolute; left:289px; top:25px; width:20px; height:20px;"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/loading.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT=""></div>
857 </div>
858
859
860 </TD>
861 </TR>
862 </TABLE>
863
864
865 <div style="position:relative; width:797px; height:183px; background-image:url('http://wwwstatic.megaporn.com/video/mvgui/under_embed.gif'); display:none;" id="embed_html">
866
867
868
869
870 <div style="position:absolute; left:30px; top:15px; width:400px; text-align:left; font-weight:bold; font-size:12px;">Set the size of the player:</div>
871
872
873 <div style="position:absolute; left:30px; top:55px; width:400px; text-align:left; font-weight:bold; font-size:12px;">
874 <TABLE cellpadding="0" cellspacing="0" style="font-size:12px;">
875 <TR>
876 <TD>width:&nbsp;</TD>
877 <TD><input type="text" name="width" id="embed_width" style="width:50px;" class="text" value="640" onkeyup="prefill_width(this.value);" ></TD>
878 <TD>&nbsp;pixels</TD>
879 </TR>
880 <TR>
881 <TD colspan="3" height="25"></TD>
882 </TR>
883 <TR>
884 <TD>height:&nbsp;</TD>
885 <TD><input type="text" name="height" id="embed_height" style="width:50px;" class="text" value="360" onkeyup="prefill_height(this.value);"></TD>
886 <TD>&nbsp;pixels</TD>
887 </TR>
888 </TABLE>
889 </div>
890
891
892 <div style="position:absolute; left:30px; top:154px; width:400px; text-align:left; font-weight:bold; font-size:12px; color:#FD0819; display:none;" id="minimumwidthmsg">The minimum width is 440 pixels.</div>
893 <div style="position:absolute; left:30px; top:154px; width:400px; text-align:left; font-weight:bold; font-size:12px; color:#FD0819; display:none;" id="minimumheightmsg">The minimum height is 330 pixels.</div>
894
895 <div style="position:absolute; left:230px; top:55px; width:400px; text-align:left; font-weight:bold; font-size:12px;">
896 <TABLE cellpadding="0" cellspacing="0" style="font-size:12px;">
897 <TR>
898 <TD>size:&nbsp;</TD>
899 <TD>
900 <select onchange="selectchange();" id="sizeselectbox">
901 <option>Small</option>
902 <option selected>Normal</option>
903 <option>Large</option>
904 <option>XXL</option>
905 <option>Custom</option>
906 </select>
907 </TD>
908 <TD></TD>
909 </TR>
910 <TR>
911 <TD colspan="3" height="25"></TD>
912 </TR>
913 <TR>
914 <TD colspan="3" ><input type="checkbox" checked id="aspectratio"> <font id="aspectratiotxt">Keep aspect ratio</font></TD>
915 </TR>
916 </TABLE>
917 </div>
918
919 <script type="text/javascript">
920
921 embedcloseimg = new Image(23,24);
922 embedcloseimgo = new Image(23,24);
923 embedcloseimgo.src = 'http://wwwstatic.megaporn.com/video/mvgui/embed_close_o.gif';
924
925 </script>
926
927
928 <div style="position:absolute; left:420px; top:15px; width:300px; text-align:left; font-weight:bold; font-size:12px;">Copy paste the following code:</div>
929
930 <div style="position:absolute; left:430px; top:7px; width:360px; text-align:right; font-weight:bold; font-size:12px;"><a href="javascript:embedclose();"><IMG SRC="http://wwwstatic.megaporn.com/video/mvgui/embed_close.gif" WIDTH="23" HEIGHT="24" BORDER="0" ALT="" onmouseover="embedcloseimg.src=this.src; this.src=embedcloseimgo.src;" onmouseout="this.src=embedcloseimg.src;"></a></div>
931
932 <div style="position:absolute; left:420px; top:52px; width:400px; text-align:left; font-weight:bold; font-size:12px;">
933 <textarea style="width:350px; height:90px; border: 1px solid #A5ACB2;" id="embedcode" onclick="this.select();" readonly></textarea>
934 </div>
935
936
937 <div style="position:absolute; left:420px; top:154px; width:300px; text-align:left; font-weight:bold; font-size:12px;"><a href="javascript:previewplayer();" style="font-weight:bold; font-size:12px; text-decoration:none; color:#000000;">preview player</a></div>
938
939
940 </div>
941
942 <script type="text/javascript">
943
944 customsetting=false;
945
946 min_width = 440;
947 min_height = 330;
948
949 original_width = '416';
950 original_height = '312';
951
952 ewidth = 640;
953 eheight = Math.floor((640/original_width)*original_height);
954
955 custom_width = ewidth;
956 custom_height = eheight;
957
958 prefill_w = 640;
959 prefill_h = eheight;
960
961 document.getElementById('embed_width').value = ewidth;
962 document.getElementById('embed_height').value = eheight;
963
964 setembedcode(ewidth,eheight);
965
966
967
968
969 function setplayersize(newwidth,newheight)
970 {
971 if (newheight == 0)
972 {
973 ewidth = newwidth;
974 eheight = Math.floor((newwidth/original_width)*original_height);
975
976 if (eheight < min_height)
977 {
978 eheight = min_height;
979 document.getElementById('aspectratio').disabled = true;
980 document.getElementById('aspectratiotxt').color = '#757575';
981
982 }
983 else
984 {
985 document.getElementById('aspectratio').disabled = false;
986 document.getElementById('aspectratiotxt').color = '#000000';
987
988 }
989
990 document.getElementById('embed_width').value = ewidth;
991 document.getElementById('embed_height').value = eheight;
992 setembedcode(ewidth,eheight);
993 }
994 else if(newwidth == 0)
995 {
996 eheight = newheight;
997
998 if (ewidth < min_width)
999 {
1000 ewidth = min_width;
1001 document.getElementById('aspectratio').disabled = true;
1002 document.getElementById('aspectratiotxt').color = '#757575';
1003 }
1004 else
1005 {
1006 document.getElementById('aspectratio').disabled = false;
1007 document.getElementById('aspectratiotxt').color = '#000000';
1008 }
1009
1010 ewidth = Math.floor((newheight/original_height)*original_width);
1011 document.getElementById('embed_width').value = ewidth;
1012 document.getElementById('embed_height').value = eheight;
1013 setembedcode(ewidth,eheight);
1014 }
1015 else
1016 {
1017 ewidth = newwidth;
1018 eheight = newheight;
1019 document.getElementById('embed_width').value = newwidth;
1020 document.getElementById('embed_height').value = newheight;
1021 setembedcode(ewidth,eheight);
1022 }
1023
1024 }
1025
1026
1027 function prefill_width(newwidth)
1028 {
1029 if (isUnsignedInteger(newwidth))
1030 {
1031 if (newwidth < min_width)
1032 {
1033 document.getElementById('minimumwidthmsg').style.display = '';
1034 document.getElementById('embed_width').style.borderColor = '#FD0819';
1035
1036 }
1037 else
1038 {
1039 document.getElementById('embed_width').style.borderColor = '#A5ACB2';
1040 document.getElementById('minimumwidthmsg').style.display = 'none';
1041 prefill_w = newwidth;
1042
1043 if (document.getElementById('aspectratio').checked == true)
1044 {
1045 setplayersize(newwidth,0);
1046 }
1047 else
1048 {
1049 setplayersize(newwidth,eheight);
1050 }
1051
1052 document.getElementById('sizeselectbox').selectedIndex = 4;
1053 customsetting=true;
1054 custom_width = ewidth;
1055 custom_height = eheight;
1056 }
1057 }
1058 else
1059 {
1060 if (newwidth !== '')
1061 {
1062 document.getElementById('embed_width').value = prefill_w;
1063
1064 alert('Please enter a positive number.');
1065
1066 document.getElementById('embed_width').style.borderColor = '#A5ACB2';
1067 document.getElementById('minimumwidthmsg').style.display = 'none';
1068 }
1069 }
1070 }
1071
1072
1073 function prefill_height(newheight)
1074 {
1075 if (isUnsignedInteger(newheight))
1076 {
1077 if (newheight < min_height)
1078 {
1079 document.getElementById('minimumheightmsg').style.display = '';
1080 document.getElementById('embed_height').style.borderColor = '#FD0819';
1081
1082 }
1083 else
1084 {
1085 document.getElementById('embed_height').style.borderColor = '#A5ACB2';
1086 document.getElementById('minimumheightmsg').style.display = 'none';
1087 prefill_w = newheight;
1088
1089 if (document.getElementById('aspectratio').checked == true)
1090 {
1091 setplayersize(0,newheight);
1092 }
1093 else
1094 {
1095 setplayersize(ewidth,newheight);
1096 }
1097 document.getElementById('sizeselectbox').selectedIndex = 4;
1098 customsetting=true;
1099 custom_width = ewidth;
1100 custom_height = eheight;
1101 }
1102 }
1103 else
1104 {
1105 if (newheight !== '')
1106 {
1107 document.getElementById('embed_height').value = prefill_h;
1108 alert('Please enter a positive number.');
1109 document.getElementById('embed_height').style.borderColor = '#A5ACB2';
1110 document.getElementById('minimumheightmsg').style.display = 'none';
1111 }
1112 }
1113 }
1114
1115
1116 function isUnsignedInteger(s)
1117 {
1118 return (s.toString().search(/^[0-9]+$/) == 0);
1119 }
1120
1121
1122
1123 function selectchange()
1124 {
1125 document.getElementById('embed_width').style.borderColor = '#A5ACB2';
1126 document.getElementById('minimumwidthmsg').style.display = 'none';
1127 document.getElementById('embed_height').style.borderColor = '#A5ACB2';
1128 document.getElementById('minimumheightmsg').style.display = 'none';
1129
1130 if (document.getElementById('sizeselectbox').selectedIndex == 0)
1131 {
1132 // small
1133 setplayersize(450,0);
1134 }
1135 if (document.getElementById('sizeselectbox').selectedIndex == 1)
1136 {
1137 // normal
1138 setplayersize(640,0);
1139 }
1140 if (document.getElementById('sizeselectbox').selectedIndex == 2)
1141 {
1142 // large
1143 setplayersize(800,0);
1144
1145 }
1146 if (document.getElementById('sizeselectbox').selectedIndex == 3)
1147 {
1148 // XXL
1149 setplayersize(1024,0);
1150 }
1151 if (document.getElementById('sizeselectbox').selectedIndex == 4)
1152 {
1153 // custom
1154 if(customsetting)
1155 {
1156 setplayersize(custom_width,custom_height);
1157 }
1158 }
1159 }
1160
1161 function previewplayer()
1162 {
1163
1164 window.open('previewplayer/?v=E1LROW6E&width=' + ewidth + '&height=' + eheight + '&image=92307a2d8239362a40d18bebfa72e4e5',name,'width='+(ewidth)+',height='+(eheight)+',scrollbars=no,status=no,resizable=yes, toolbar=no');
1165
1166 }
1167
1168 function setembedcode(cwidth,cheight)
1169 {
1170
1171 document.getElementById('embedcode').value = '<object width="' + cwidth + '" height="' + cheight + '"><param name="movie" value="http://www.megaporn.com/e/E1LROW6E92307a2d8239362a40d18bebfa72e4e5"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.megaporn.com/e/E1LROW6E92307a2d8239362a40d18bebfa72e4e5" type="application/x-shockwave-flash" allowfullscreen="true" width="' + cwidth + '" height="' + cheight + '"></embed></object>';
1172
1173 }
1174
1175
1176
1177 </script>
1178
1179 <div style="position:relative; padding-top:10px; width:901px; height:24px; display:none;" id="related_header">
1180
1181 <div style="position:absolute; left:-4px; top:0px; width:452px; height:25px; background-image:url('http://wwwstatic.megaporn.com/video/mvgui/under_head.gif');">
1182 <div style="position:absolute; left:15px; top:4px; color:#FFFFFF; font-size:12px; width:450px; text-align:left;">Related videos</div>
1183 </div>
1184
1185 <div style="position:absolute; left:453px; top:0px; width:452px; height:25px; background-image:url('http://wwwstatic.megaporn.com/video/mvgui/under_head.gif');">
1186 <div style="position:absolute; left:15px; top:4px; color:#FFFFFF; font-size:12px; width:450px; text-align:left;">Other videos from this user</div>
1187 <div style="position:absolute; left:0px; top:4px; width:438px; text-align:right;"><a href="javascript:closerelated();" style="color:#FFFFFF; font-size:12px; font-weight:bold; text-decoration:none;">Close</a></div>
1188 </div>
1189
1190 </div>
1191
1192
1193 <div style="display:relative; padding-top:10px; width:901px; display:none;" id="related_html">&nbsp;</div>
1194
1195
1196 <div style="position:absolute; width:1px; height:1px;">
1197
1198 <form method="POST" id="relatedfrm" action="relatedvideos.php" target="relatedframe">
1199 <input type="hidden" name="v" value="E1LROW6E">
1200 </form>
1201 <iframe src="" width="1" height="1" name="relatedframe" style="border:0;"></iframe>
1202
1203
1204
1205
1206
1207 <div id="flash_cookie"></div>
1208
1209
1210
1211 <script type="text/javascript">
1212 var flashvars = {};
1213 flashvars.u = "";
1214 var params = {};
1215 params.wmode = "transparent";
1216 swfobject.embedSWF("http://wwwstatic.megaporn.com/video/cookie.swf", "flash_cookie", "1", "1", "0", false, flashvars, params);
1217 </script>
1218
1219
1220 <script type="text/javascript"><!--
1221 EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?
1222 EXb=EXs.colorDepth:EXb=EXs.pixelDepth;
1223 navigator.javaEnabled()==1?EXjv="y":EXjv="n";
1224 EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";
1225 location.protocol=="https:"?EXprot="https":EXprot="http";
1226 top.document.referrer?EXref=top.document.referrer:EXref=EXd.referrer;
1227 EXd.write("<img src="+EXprot+"://nht-2.extreme-dm.com",
1228 "/n3.g?login=mega04&amp;url="+escape(document.URL)+"&amp;pv=&amp;",
1229 "jv="+EXjv+"&amp;j=y&amp;srw="+EXw+"&amp;srb="+EXb+"&amp;",
1230 "l=http://www.megaporn.com/video/? height=1 width=1>");//-->
1231 </script><noscript><div id="nneXTReMe"><img height="1" width="1" alt=""
1232 src="http://nht-2.extreme-dm.com/n3.g?login=mega04&amp;url=nojs&amp;j=n&amp;jv=n&amp;pv=" />
1233 </div></noscript>
1234
1235
1236 <script type="text/javascript">
1237
1238 var langImgs = new Array(19);
1239 var langOverImgs = new Array(19);
1240 var langArrowImgs = new Array(19);
1241 var locales = new Array(19);
1242
1243 langImgs[0] = new Image(129, 25);
1244 langImgs[0].src="http://wwwstatic.megaporn.com/video/gui/language_object/en.gif";
1245 langOverImgs[0] = new Image(129, 25);
1246 langOverImgs[0].src="http://wwwstatic.megaporn.com/video/gui/language_object/en_o.gif";
1247 langImgs[1] = new Image(129, 21);
1248 langImgs[1].src="http://wwwstatic.megaporn.com/video/gui/language_object/de.gif";
1249 langOverImgs[1] = new Image(129, 21);
1250 langOverImgs[1].src="http://wwwstatic.megaporn.com/video/gui/language_object/de_o.gif";
1251 langImgs[2] = new Image(129, 21);
1252 langImgs[2].src="http://wwwstatic.megaporn.com/video/gui/language_object/fr.gif";
1253 langOverImgs[2] = new Image(129, 21);
1254 langOverImgs[2].src="http://wwwstatic.megaporn.com/video/gui/language_object/fr_o.gif";
1255 langImgs[3] = new Image(129, 21);
1256 langImgs[3].src="http://wwwstatic.megaporn.com/video/gui/language_object/es.gif";
1257 langOverImgs[3] = new Image(129, 21);
1258 langOverImgs[3].src="http://wwwstatic.megaporn.com/video/gui/language_object/es_o.gif";
1259 langImgs[4] = new Image(129, 21);
1260 langImgs[4].src="http://wwwstatic.megaporn.com/video/gui/language_object/pt.gif";
1261 langOverImgs[4] = new Image(129, 21);
1262 langOverImgs[4].src="http://wwwstatic.megaporn.com/video/gui/language_object/pt_o.gif";
1263 langImgs[5] = new Image(129, 21);
1264 langImgs[5].src="http://wwwstatic.megaporn.com/video/gui/language_object/nl.gif";
1265 langOverImgs[5] = new Image(129, 21);
1266 langOverImgs[5].src="http://wwwstatic.megaporn.com/video/gui/language_object/nl_o.gif";
1267 langImgs[6] = new Image(129, 21);
1268 langImgs[6].src="http://wwwstatic.megaporn.com/video/gui/language_object/it.gif";
1269 langOverImgs[6] = new Image(129, 21);
1270 langOverImgs[6].src="http://wwwstatic.megaporn.com/video/gui/language_object/it_o.gif";
1271 langImgs[7] = new Image(129, 21);
1272 langImgs[7].src="http://wwwstatic.megaporn.com/video/gui/language_object/cn.gif";
1273 langOverImgs[7] = new Image(129, 21);
1274 langOverImgs[7].src="http://wwwstatic.megaporn.com/video/gui/language_object/cn_o.gif";
1275 langImgs[8] = new Image(129, 21);
1276 langImgs[8].src="http://wwwstatic.megaporn.com/video/gui/language_object/ct.gif";
1277 langOverImgs[8] = new Image(129, 21);
1278 langOverImgs[8].src="http://wwwstatic.megaporn.com/video/gui/language_object/ct_o.gif";
1279 langImgs[9] = new Image(129, 21);
1280 langImgs[9].src="http://wwwstatic.megaporn.com/video/gui/language_object/jp.gif";
1281 langOverImgs[9] = new Image(129, 21);
1282 langOverImgs[9].src="http://wwwstatic.megaporn.com/video/gui/language_object/jp_o.gif";
1283 langImgs[10] = new Image(129, 21);
1284 langImgs[10].src="http://wwwstatic.megaporn.com/video/gui/language_object/kr.gif";
1285 langOverImgs[10] = new Image(129, 21);
1286 langOverImgs[10].src="http://wwwstatic.megaporn.com/video/gui/language_object/kr_o.gif";
1287 langImgs[11] = new Image(129, 21);
1288 langImgs[11].src="http://wwwstatic.megaporn.com/video/gui/language_object/ru.gif";
1289 langOverImgs[11] = new Image(129, 21);
1290 langOverImgs[11].src="http://wwwstatic.megaporn.com/video/gui/language_object/ru_o.gif";
1291 langImgs[12] = new Image(129, 21);
1292 langImgs[12].src="http://wwwstatic.megaporn.com/video/gui/language_object/fi.gif";
1293 langOverImgs[12] = new Image(129, 21);
1294 langOverImgs[12].src="http://wwwstatic.megaporn.com/video/gui/language_object/fi_o.gif";
1295 langImgs[13] = new Image(129, 21);
1296 langImgs[13].src="http://wwwstatic.megaporn.com/video/gui/language_object/se.gif";
1297 langOverImgs[13] = new Image(129, 21);
1298 langOverImgs[13].src="http://wwwstatic.megaporn.com/video/gui/language_object/se_o.gif";
1299 langImgs[14] = new Image(129, 21);
1300 langImgs[14].src="http://wwwstatic.megaporn.com/video/gui/language_object/dk.gif";
1301 langOverImgs[14] = new Image(129, 21);
1302 langOverImgs[14].src="http://wwwstatic.megaporn.com/video/gui/language_object/dk_o.gif";
1303 langImgs[15] = new Image(129, 21);
1304 langImgs[15].src="http://wwwstatic.megaporn.com/video/gui/language_object/tr.gif";
1305 langOverImgs[15] = new Image(129, 21);
1306 langOverImgs[15].src="http://wwwstatic.megaporn.com/video/gui/language_object/tr_o.gif";
1307 langImgs[16] = new Image(129, 21);
1308 langImgs[16].src="http://wwwstatic.megaporn.com/video/gui/language_object/sa.gif";
1309 langOverImgs[16] = new Image(129, 21);
1310 langOverImgs[16].src="http://wwwstatic.megaporn.com/video/gui/language_object/sa_o.gif";
1311 langImgs[17] = new Image(129, 21);
1312 langImgs[17].src="http://wwwstatic.megaporn.com/video/gui/language_object/vn.gif";
1313 langOverImgs[17] = new Image(129, 21);
1314 langOverImgs[17].src="http://wwwstatic.megaporn.com/video/gui/language_object/vn_o.gif";
1315 langImgs[18] = new Image(129, 21);
1316 langImgs[18].src="http://wwwstatic.megaporn.com/video/gui/language_object/pl.gif";
1317 langOverImgs[18] = new Image(129, 21);
1318 langOverImgs[18].src="http://wwwstatic.megaporn.com/video/gui/language_object/pl_o.gif";
1319
1320 </script>
1321
1322
1323
1324 </BODY>
1325 </HTML>
1326