Originalt postet av Red-Bull
fikk bare opp meldingen: Ugyldig innslag!
Ok, man må visst være member eller noe for å kunne se den, men her er HTML koden til siden den ligger på:
Kode
<!-- Member Validated is TRUE (exists) -->
<html>
<head>
<title>Windows MediaPlayer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
///////////////////////////////////////////////////////////////////////////
//
// Filename: wddx.js
//
// Authors: Simeon Simeonov (simeons@allaire.com)
// Nate Weiss (nweiss@icesinc.com)
//
// Last Modified: October 19, 1999
//
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
//
// WddxSerializer
//
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// serializeValue() serializes any value that can be serialized
// returns true/false
function wddxSerializer_serializeValue(obj)
{
var bSuccess = true;
var val;
if (obj == null)
{
// Null value
this.write("<null/>");
}
else if (typeof(val = obj.valueOf()) == "string")
{
// String value
this.serializeString(val);
}
else if (typeof(val = obj.valueOf()) == "number")
{
// Distinguish between numbers and date-time values
if (
typeof(obj.getTimezoneOffset) == "function" &&
typeof(obj.toGMTString) == "function")
{
// Possible Date
// Note: getYear() fix is from David Flanagan's
// "JS: The Definitive Guide". This code is Y2K safe.
this.write("<dateTime>" +
(obj.getYear() < 1000 ? 1900+obj.getYear() : obj.getYear()) + "-" + (obj.getMonth() + 1) + "-" + obj.getDate() +
"T" + obj.getHours() + ":" + obj.getMinutes() + ":" + obj.getSeconds());
if (this.useTimezoneInfo)
{
this.write(this.timezoneString);
}
this.write("</dateTime>");
}
else
{
// Number value
this.write("<number>" + val + "</number>");
}
}
else if (typeof(val = obj.valueOf()) == "boolean")
{
// Boolean value
this.write("<boolean value='" + val + "'/>");
}
else if (typeof(obj) == "object")
{
if (typeof(obj.wddxSerialize) == "function")
{
// Object knows how to serialize itself
bSuccess = obj.wddxSerialize(this);
}
else if (
typeof(obj.join) == "function" &&
typeof(obj.reverse) == "function" &&
typeof(obj.sort) == "function" &&
typeof(obj.length) == "number")
{
// Possible Array
this.write("<array length='" + obj.length + "'>");
for (var i = 0; bSuccess && i < obj.length; ++i)
{
bSuccess = this.serializeValue(obj[i]);
}
this.write("</array>");
}
else
{
// Some generic object; treat it as a structure
// Use the wddxSerializationType property as a guide as to its type
if (typeof(obj.wddxSerializationType) == 'string')
{
this.write('<struct type="'+ obj.wddxSerializationType +'">')
}
else
{
this.write("<struct>");
}
for (var prop in obj)
{
if (prop != 'wddxSerializationType')
{
bSuccess = this.serializeVariable(prop, obj[prop]);
if (! bSuccess)
{
break;
}
}
}
this.write("</struct>");
}
}
else
{
// Error: undefined values or functions
bSuccess = false;
}
// Successful serialization
return bSuccess;
}
///////////////////////////////////////////////////////////////////////////
// serializeAttr() serializes an attribute (such as a var tag) using JavaScript
// functionality available in NS 3.0 and above
function wddxSerializer_serializeAttr(s)
{
for (var i = 0; i < s.length; ++i)
{
this.write(this.at[s.charAt(i)]);
}
}
///////////////////////////////////////////////////////////////////////////
// serializeAttrOld() serializes a string using JavaScript functionality
// available in IE 3.0. We don't support special characters for IE3, so
// just throw the unencoded text and hope for the best
function wddxSerializer_serializeAttrOld(s)
{
this.write(s);
}
///////////////////////////////////////////////////////////////////////////
// serializeString() serializes a string using JavaScript functionality
// available in NS 3.0 and above
function wddxSerializer_serializeString(s)
{
this.write("<string>");
for (var i = 0; i < s.length; ++i)
{
this.write(this.et[s.charAt(i)]);
}
this.write("</string>");
}
///////////////////////////////////////////////////////////////////////////
// serializeStringOld() serializes a string using JavaScript functionality
// available in IE 3.0
function wddxSerializer_serializeStringOld(s)
{
this.write("<string><![CDATA[");
pos = s.indexOf("]]>");
if (pos != -1)
{
startPos = 0;
while (pos != -1)
{
this.write(s.substring(startPos, pos) + "]]>]]><![CDATA[");
startPos = pos + 3;
if (startPos < s.length)
{
pos = s.indexOf("]]>", startPos);
}
else
{
// Work around bug in indexOf()
// "" will be returned instead of -1 if startPos > length
pos = -1;
}
}
this.write(s.substring(startPos, s.length));
}
else
{
this.write(s);
}
this.write("]]></string>");
}
///////////////////////////////////////////////////////////////////////////
// serializeVariable() serializes a property of a structure
// returns true/false
function wddxSerializer_serializeVariable(name, obj)
{
var bSuccess = true;
if (typeof(obj) != "function")
{
this.write("<var name='");
this.preserveVarCase ? this.serializeAttr(name) : this.serializeAttr(name.toLowerCase());
this.write("'>");
bSuccess = this.serializeValue(obj);
this.write("</var>");
}
return bSuccess;
}
///////////////////////////////////////////////////////////////////////////
// write() appends text to the wddxPacket buffer
function wddxSerializer_write(str)
{
this.wddxPacket += str;
}
///////////////////////////////////////////////////////////////////////////
// serialize() creates a WDDX packet for a given object
// returns the packet on success or null on failure
function wddxSerializer_serialize(rootObj)
{
this.wddxPacket = "";
this.write("<wddxPacket version='1.0'><header/><data>");
var bSuccess = this.serializeValue(rootObj);
this.write("</data></wddxPacket>");
if (bSuccess)
{
return this.wddxPacket;
}
else
{
return null;
}
}
///////////////////////////////////////////////////////////////////////////
// WddxSerializer() binds the function properties of the object
function WddxSerializer()
{
// Compatibility section
if (navigator.appVersion != "" && navigator.appVersion.indexOf("MSIE 3.") == -1)
{
// Character encoding table
// Encoding table for strings (CDATA)
var et = new Array();
// Numbers to characters table and
// characters to numbers table
var n2c = new Array();
var c2n = new Array();
// Encoding table for attributes (i.e. var=str)
var at = new Array();
for (var i = 0; i < 256; ++i)
{
// Build a character from octal code
var d1 = Math.floor(i/64);
var d2 = Math.floor((i%64)/8);
var d3 = i%8;
var c = eval("\"\\" + d1.toString(10) + d2.toString(10) + d3.toString(10) + "\"");
// Modify character-code conversion tables
n2c[i] = c;
c2n[c] = i;
// Modify encoding table
if (i < 32 && i != 9 && i != 10 && i != 13)
{
// Control characters that are not tabs, newlines, and carriage returns
// Create a two-character hex code representation
var hex = i.toString(16);
if (hex.length == 1)
{
hex = "0" + hex;
}
et[n2c[i]] = "<char code='" + hex + "'/>";
// strip control chars from inside attrs
at[n2c[i]] = "";
}
else if (i < 128)
{
// Low characters that are not special control characters
et[n2c[i]] = n2c[i];
// attr table
at[n2c[i]] = n2c[i];
}
else
{
// High characters
et[n2c[i]] = "&#x" + i.toString(16) + ";";
at[n2c[i]] = "&#x" + i.toString(16) + ";";
}
}
// Special escapes for CDATA encoding
et["<"] = "<";
et[">"] = ">";
et["&"] = "&";
// Special escapes for attr encoding
at["<"] = "<";
at[">"] = ">";
at["&"] = "&";
at["'"] = "'";
at["\""] = """;
// Store tables
this.n2c = n2c;
this.c2n = c2n;
this.et = et;
this.at = at;
// The browser is not MSIE 3.x
this.serializeString = wddxSerializer_serializeString;
this.serializeAttr = wddxSerializer_serializeAttr;
}
else
{
// The browser is most likely MSIE 3.x, it is NS 2.0 compatible
this.serializeString = wddxSerializer_serializeStringOld;
this.serializeAttr = wddxSerializer_serializeAttrOld;
}
// Setup timezone information
var tzOffset = (new Date()).getTimezoneOffset();
// Invert timezone offset to convert local time to UTC time
if (tzOffset >= 0)
{
this.timezoneString = '-';
}
else
{
this.timezoneString = '+';
}
this.timezoneString += Math.floor(Math.abs(tzOffset) / 60) + ":" + (Math.abs(tzOffset) % 60);
// Common properties
this.preserveVarCase = false;
this.useTimezoneInfo = true;
// Common functions
this.serialize = wddxSerializer_serialize;
this.serializeValue = wddxSerializer_serializeValue;
this.serializeVariable = wddxSerializer_serializeVariable;
this.write = wddxSerializer_write;
}
///////////////////////////////////////////////////////////////////////////
//
// WddxRecordset
//
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// isColumn(name) returns true/false based on whether this is a column name
function wddxRecordset_isColumn(name)
{
// Columns must be objects
// WddxRecordset extensions might use properties prefixed with
// _private_ and these will not be treated as columns
return (typeof(this[name]) == "object" &&
name.indexOf("_private_") == -1);
}
///////////////////////////////////////////////////////////////////////////
// getRowCount() returns the number of rows in the recordset
function wddxRecordset_getRowCount()
{
var nRowCount = 0;
for (var col in this)
{
if (this.isColumn(col))
{
nRowCount = this[col].length;
break;
}
}
return nRowCount;
}
///////////////////////////////////////////////////////////////////////////
// addColumn(name) adds a column with that name and length == getRowCount()
function wddxRecordset_addColumn(name)
{
var nLen = this.getRowCount();
var colValue = new Array(nLen);
for (var i = 0; i < nLen; ++i)
{
colValue[i] = null;
}
this[this.preserveFieldCase ? name : name.toLowerCase()] = colValue;
}
///////////////////////////////////////////////////////////////////////////
// addRows() adds n rows to all columns of the recordset
function wddxRecordset_addRows(n)
{
for (var col in this)
{
if (this.isColumn(col))
{
var nLen = this[col].length;
for (var i = nLen; i < nLen + n; ++i)
{
this[col][i] = null;
}
}
}
}
///////////////////////////////////////////////////////////////////////////
// getField() returns the element in a given (row, col) position
function wddxRecordset_getField(row, col)
{
return this[this.preserveFieldCase ? col : col.toLowerCase()][row];
}
///////////////////////////////////////////////////////////////////////////
// setField() sets the element in a given (row, col) position to value
function wddxRecordset_setField(row, col, value)
{
this[this.preserveFieldCase ? col : col.toLowerCase()][row] = value;
}
///////////////////////////////////////////////////////////////////////////
// wddxSerialize() serializes a recordset
// returns true/false
function wddxRecordset_wddxSerialize(serializer)
{
// Create an array and a list of column names
var colNamesList = "";
var colNames = new Array();
var i = 0;
for (var col in this)
{
if (this.isColumn(col))
{
colNames[i++] = col;
if (colNamesList.length > 0)
{
colNamesList += ",";
}
colNamesList += col;
}
}
var nRows = this.getRowCount();
serializer.write("<recordset rowCount='" + nRows + "' fieldNames='" + colNamesList + "'>");
var bSuccess = true;
for (i = 0; bSuccess && i < colNames.length; i++)
{
var name = colNames[i];
serializer.write("<field name='" + name + "'>");
for (var row = 0; bSuccess && row < nRows; row++)
{
bSuccess = serializer.serializeValue(this[name][row]);
}
serializer.write("</field>");
}
serializer.write("</recordset>");
return bSuccess;
}
///////////////////////////////////////////////////////////////////////////
// dump(escapeStrings) returns an HTML table with the recordset data
// It is a convenient routine for debugging and testing recordsets
// The boolean parameter escapeStrings determines whether the <>&
// characters in string values are escaped as <>&
function wddxRecordset_dump(escapeStrings)
{
// Get row count
var nRows = this.getRowCount();
// Determine column names
var colNames = new Array();
var i = 0;
for (var col in this)
{
if (typeof(this[col]) == "object")
{
colNames[i++] = col;
}
}
// Build table headers
var o = "<table border=1><tr><td><b>RowNumber</b></td>";
for (i = 0; i < colNames.length; ++i)
{
o += "<td><b>" + colNames[i] + "</b></td>";
}
o += "</tr>";
// Build data cells
for (var row = 0; row < nRows; ++row)
{
o += "<tr><td>" + row + "</td>";
for (i = 0; i < colNames.length; ++i)
{
var elem = this.getField(row, colNames[i]);
if (escapeStrings && typeof(elem) == "string")
{
var str = "";
for (var j = 0; j < elem.length; ++j)
{
var ch = elem.charAt(j);
if (ch == '<')
{
str += "<";
}
else if (ch == '>')
{
str += ">";
}
else if (ch == '&')
{
str += "&";
}
else
{
str += ch;
}
}
o += ("<td>" + str + "</td>");
}
else
{
o += ("<td>" + elem + "</td>");
}
}
o += "</tr>";
}
// Close table
o += "</table>";
// Return HTML recordset dump
return o;
}
///////////////////////////////////////////////////////////////////////////
// WddxRecordset([flagPreserveFieldCase]) creates an empty recordset.
// WddxRecordset(columns [, flagPreserveFieldCase]) creates a recordset
// with a given set of columns provided as an array of strings.
// WddxRecordset(columns, rows [, flagPreserveFieldCase]) creates a
// recordset with these columns and some number of rows.
// In all cases, flagPreserveFieldCase determines whether the exact case
// of field names is preserved. If omitted, the default value is false
// which means that all field names will be lowercased.
function WddxRecordset()
{
// Add default properties
this.preserveFieldCase = false;
// Add extensions
if (typeof(wddxRecordsetExtensions) == "object")
{
for (var prop in wddxRecordsetExtensions)
{
// Hook-up method to WddxRecordset object
this[prop] = wddxRecordsetExtensions[prop]
}
}
// Add built-in methods
this.getRowCount = wddxRecordset_getRowCount;
this.addColumn = wddxRecordset_addColumn;
this.addRows = wddxRecordset_addRows;
this.isColumn = wddxRecordset_isColumn;
this.getField = wddxRecordset_getField;
this.setField = wddxRecordset_setField;
this.wddxSerialize = wddxRecordset_wddxSerialize;
this.dump = wddxRecordset_dump;
// Perfom any needed initialization
if (WddxRecordset.arguments.length > 0)
{
if (typeof(val = WddxRecordset.arguments[0].valueOf()) == "boolean")
{
// Case preservation flag is provided as 1st argument
this.preserveFieldCase = WddxRecordset.arguments[0];
}
else
{
// First argument is the array of column names
var cols = WddxRecordset.arguments[0];
// Second argument could be the length or the preserve case flag
var nLen = 0;
if (WddxRecordset.arguments.length > 1)
{
if (typeof(val = WddxRecordset.arguments[1].valueOf()) == "boolean")
{
// Case preservation flag is provided as 2nd argument
this.preserveFieldCase = WddxRecordset.arguments[1];
}
else
{
// Explicitly specified recordset length
nLen = WddxRecordset.arguments[1];
if (WddxRecordset.arguments.length > 2)
{
// Case preservation flag is provided as 3rd argument
this.preserveFieldCase = WddxRecordset.arguments[2];
}
}
}
for (var i = 0; i < cols.length; ++i)
{
var colValue = new Array(nLen);
for (var j = 0; j < nLen; ++j)
{
colValue[j] = null;
}
this[this.preserveFieldCase ? cols[i] : cols[i].toLowerCase()] = colValue;
}
}
}
}
///////////////////////////////////////////////////////////////////////////
//
// WddxRecordset extensions
//
// The WddxRecordset class has been designed with extensibility in mind.
//
// Developers can add new properties to the object and as long as their
// names are prefixed with _private_ the WDDX serialization function of
// WddxRecordset will not treat them as recordset columns.
//
// Developers can create new methods for the class outside this file as
// long as they make a call to registerWddxRecordsetExtension() with the
// name of the method and the function object that implements the method.
// The WddxRecordset constructor will automatically register all these
// methods with instances of the class.
//
// Example:
//
// If I want to add a new WddxRecordset method called addOneRow() I can
// do the following:
//
// - create the method implementation
//
// function wddxRecordset_addOneRow()
// {
// this.addRows(1);
// }
//
// - call registerWddxRecordsetExtension()
//
// registerWddxRecordsetExtension("addOneRow", wddxRecordset_addOneRow);
//
// - use the new function
//
// rs = new WddxRecordset();
// rs.addOneRow();
//
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// registerWddxRecordsetExtension(name, func) can be used to extend
// functionality by registering functions that should be added as methods
// to WddxRecordset instances.
function registerWddxRecordsetExtension(name, func)
{
// Perform simple validation of arguments
if (typeof(name) == "string" && typeof(func) == "function")
{
// Guarantee existence of wddxRecordsetExtensions object
if (typeof(wddxRecordsetExtensions) != "object")
{
// Create wddxRecordsetExtensions instance
wddxRecordsetExtensions = new Object();
}
// Register extension; override an existing one
wddxRecordsetExtensions[name] = func;
}
}
///////////////////////////////////////////////////////////////////////////
//
// WddxBinary
//
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// wddxSerialize() serializes a binary value
// returns true/false
function wddxBinary_wddxSerialize(serializer)
{
serializer.write(
"<binary encoding='" + this.encoding + "'>" + this.data + "</binary>");
return true;
}
///////////////////////////////////////////////////////////////////////////
// WddxBinary() constructs an empty binary value
// WddxBinary(base64Data) constructs a binary value from base64 encoded data
// WddxBinary(data, encoding) constructs a binary value from encoded data
function WddxBinary(data, encoding)
{
this.data = data != null ? data : "";
this.encoding = encoding != null ? encoding : "base64";
// Custom serialization mechanism
this.wddxSerialize = wddxBinary_wddxSerialize;
}
get_stories=new WddxRecordset();_t2=new Array();_t2[0]=223356;get_stories["story_id"]=_t2;_t2=new Array();_t2[0]=5128;get_stories["episode_id"]=_t2;_t2=new Array();_t2[0]="Vil du bli millionær?";get_stories["title"]=_t2;_t2=new Array();_t2[0]=" Kunnskapslek\nved Frithjof Wilborn";get_stories["ingress"]=_t2;_t2=new Array();_t2[0]="";get_stories["created_user_id"]=_t2;_t2=new Array();_t2[0]="";get_stories["modified_user_id"]=_t2;_t2=new Array();_t2[0]="";get_stories["created_date"]=_t2;_t2=new Array();_t2[0]=new Date(2001,7,31,20,59,18);get_stories["modified_date"]=_t2;_t2=new Array();_t2[0]=new Date(2001,7,31,20,0,0);get_stories["public_date"]=_t2;_t2=new Array();_t2[0]="";get_stories["status"]=_t2;_t2=new Array();_t2[0]=1;get_stories["active"]=_t2;_t2=new Array();_t2[0]="";get_stories["event_id"]=_t2;_t2=new Array();_t2[0]=0;get_stories["start_marker"]=_t2;_t2=new Array();_t2[0]=0;get_stories["end_marker"]=_t2;_t2=new Array();_t2[0]=" ";get_stories["keywords"]=_t2;_t2=new Array();_t2[0]="";get_stories["comment"]=_t2;_t2=new Array();_t2[0]=0;get_stories["xml_item_id"]=_t2;_t2=new Array();_t2[0]=0;get_stories["category"]=_t2;_t2=new Array();_t2[0]=1;get_stories["auto_generated"]=_t2;_t2=new Array();_t2[0]=5128;get_stories["episode_id"]=_t2;_t2=new Array();_t2[0]=11914;get_stories["xml_episode_id"]=_t2;_t2=new Array();_t2[0]=17;get_stories["program_id"]=_t2;_t2=new Array();_t2[0]="Vil du bli millionær?";get_stories["episode_name"]=_t2;_t2=new Array();_t2[0]=new Date(2001,7,31,20,49,19);get_stories["start_time"]=_t2;_t2=new Array();_t2[0]=new Date(2001,11,29,20,49,19);get_stories["stop_time"]=_t2;_t2=new Array();_t2[0]=new Date(2001,7,31,20,0,0);get_stories["sent_time"]=_t2;_t2=new Array();_t2[0]=0;get_stories["created_user_id"]=_t2;_t2=new Array();_t2[0]="";get_stories["modified_user_id"]=_t2;_t2=new Array();_t2[0]=new Date(2001,7,31,20,48,17);get_stories["created_date"]=_t2;_t2=new Array();_t2[0]=new Date(2001,7,31,20,59,16);get_stories["modified_date"]=_t2;_t2=new Array();_t2[0]="";get_stories["body"]=_t2;_t2=new Array();_t2[0]="";get_stories["keywords"]=_t2;_t2=new Array();_t2[0]=1;get_stories["active"]=_t2;_t2=new Array();_t2[0]="";get_stories["comment"]=_t2;_t2=new Array();_t2[0]=30;get_stories["episode_start_marker"]=_t2;_t2=new Array();_t2[0]=3294;get_stories["episode_stop_marker"]=_t2;_t0=null;_t1=null;_t2=null; get_super_info=new WddxRecordset();_t2=new Array();get_super_info["super_id"]=_t2;_t2=new Array();get_super_info["marker"]=_t2;_t2=new Array();get_super_info["target"]=_t2;_t2=new Array();get_super_info["urlstring"]=_t2;_t0=null;_t1=null;_t2=null;
var dim = get_stories.getRowCount();
var markerArray = new Array(dim);
var storyArray = new Array(dim);
var story = false;
var ad = false;
var end = 0;
var super_dim = get_super_info.getRowCount();
var frameCount = top.frames.length;
var superMarkerArray = new Array(super_dim);
var superTargetArray = new Array(super_dim);
var superIdArray = new Array(super_dim);
var frameArray = new Array(frameCount);
var urlArray = new Array(super_dim);
function loadMarkers(){
for (var i=0; i<dim; i++){
markerArray[i] = get_stories.getField(i, "start_marker");
storyArray[i] = get_stories.getField(i, "story_id");
end = get_stories.getField(i, "end_marker");
}
for (var j=0; j<super_dim; j++){
superMarkerArray[j] = get_super_info.getField(j, "marker");
superTargetArray[j] = get_super_info.getField(j, "target");
superIdArray[j] = get_super_info.getField(j, "super_id");
urlArray[j] = get_super_info.getField(j, "urlstring");
}
checkCollisions();
recordStatus();
}
function checkCollisions(){
for (var i=0; i<super_dim; i++){
var super_marker = superMarkerArray[i];
for (var j=0; j<dim; j++){
var marker = markerArray[j];
if (super_marker == marker || super_marker == 0){
superMarkerArray[i] = super_marker + 1;
}
}
}
}
function checkSuperMarker(time){
for (var i=0; i<super_dim; i++){
if (superMarkerArray[i] == time){
return i;
} else {
my_status = -1;
}
}
return -1
}
function trackTime(){
// alert(super_dim);
if (navigator.appName == "Netscape"){
// alert('2');
var temp = document.timeForm.marker.value
var entryName = document.timeForm.entryName.value
// var sec_tot = document.MediaPlayer1.GetCurrentPosition();
// var test2 = document.MediaPlayer1.GetStreamCount();
// var test3 = document.MediaPlayer1.GetCanSeek();
// alert(sec_tot);
// alert(test2);
// alert(test3);
// var entryName = document.MediaPlayer1.GetMediaInfoString(8);
//var entryName = document.MediaPlayer1.GetCurrentPosition();
// alert('entryname: ' + entryName);
if (entryName.length > 4){
var superIndex = checkSuperMarker(temp);
// window.status = 'hallo';
if (superIndex != -1){
var target = superTargetArray[superIndex];
var super_id = superIdArray[superIndex];
eval('top.' + target + '.document.location="super_info.cfm?super_id=' + super_id + '"');
}
}
// alert('her');
} else {
var temp = document.timeForm.marker.value
var entry = document.MediaPlayer1.GetCurrentEntry();
var entryName = document.MediaPlayer1.getMediaParameter(entry, "title");
//alert('Entryname: ' + entryName);
// parent.on_demand_view.search_form.tekst.value = entryName;
if (entryName.length > 4){
var superIndex = checkSuperMarker(temp);
//window.status = '';
if (superIndex != -1){
var target = superTargetArray[superIndex];
var url = urlArray[superIndex]
var super_id = superIdArray[superIndex];
if (target == "new"){
window.open(url);
} else {
eval('top.' + target + '.document.location="super_info.cfm?super_id=' + super_id + '"');
}
}
}
}
}
function recordStatus(){
if (navigator.appName == "Netscape"){
var temp = document.MediaPlayer1.GetCurrentPosition();
var entryName = document.MediaPlayer1.GetMediaInfoString(8);
document.timeForm.entryName.value = entryName;
var position = "" + temp;
var decIndex = position.indexOf(".");
position = position.substr(0, decIndex);
document.timeForm.marker.value = position;
} else {
var temp = document.MediaPlayer1.currentPosition;
var position = "" + temp;
var decIndex = position.indexOf(".");
position = position.substr(0, decIndex);
document.timeForm.marker.value = position;
}
// alert(super_dim);
if (super_dim > 0){
trackTime();
}
setTimeout("recordStatus()", "900");
}
</script>
</head>
<body onload="loadMarkers();" bgcolor="#666666" leftmargin="1" topmargin="0" marginwidth="1" marginheight="0">
<table width="320" border="0" cellspacing="0" cellpadding="0">
<tr align="center" bgcolor="#000000">
<td height="264" valign="middle" background="images/hake_anim_24.gif">
<OBJECT ID="MediaPlayer1" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" height="264" width="320" bgcolor="black">
<PARAM NAME="FileName" VALUE="http://frihet.tv2.no/asx/show.asx?file_id=76801&story_id=0">
<PARAM NAME="ShowControls" VALUE="false">
<PARAM NAME="Visible" VALUE="true">
<PARAM NAME="AutoStart" VALUE="true">
<PARAM NAME="AnimationatStart" VALUE="false">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="true">
<PARAM NAME="SendOpenStateChangeEvents" VALUE="true">
<PARAM NAME="SendWarningEvents" VALUE="true">
<PARAM NAME="SendErrorEvents" VALUE="true">
<PARAM NAME="TransparentAtStart" VALUE="true">
<PARAM NAME="ShowStatusBar" VALUE="true">
<PARAM NAME="Volume" VALUE="0">
<PARAM NAME="ShowDisplay" VALUE="FALSE">
<PARAM NAME="EnableContextMenu" VALUE="TRUE">
<PARAM NAME="ClickToPlay" VALUE="false">
<PARAM NAME="AllowScan" VALUE="TRUE">
<PARAM NAME="BufferingTime" VALUE="2">
<PARAM NAME="AutoSize" VALUE="TRUE">
<EMBED TYPE='application/x-mplayer2' NAME='MediaPlayer1'
PLUGINSPAGE=http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp
HEIGHT='264' WIDTH='320'
FileName='http://frihet.tv2.no/asx/show.asx?file_id=76801&story_id=0'
ShowDisplay='0'
ShowControls='0'
Visible='1'
AutoStart='1'
AnimationatStart='1'
SendPlayStateChangeEvents='1'
SendOpenStateChangeEvents='1'
SendWarningEvents='1'
TransparentAtStart='0'
Bandwidth='1'
ShowStatusBar='1'
EnableContextMenu='1'
ClickToPlay='false'
AllowScan='1'
Volume='0'>
</embed>
</OBJECT>
</td>
</tr>
</table>
<form name="helperform" action="">
<input type="hidden" name="track_time">
<input type="hidden" name="file_id_hidden" value="76801">
<input type="hidden" name="format" value="wm">
</form>
<form name="timeForm" action="">
<input type="hidden" name="marker" value="0">
<input type="hidden" name="entryName">
</form>
</body>
Om noen kunne finne URL'en til filmen ut i fra dette hadde det vært ypperlig.