﻿// JScript File


 
var VideoAd  = function()
{
    this.startTime = 0;
    this.duration = 0;
    this.status = 0;
    this.type = 0;
    this.location = 0;
    this.inEffect = 0;
    this.outEffect = 0;
    this.clickEffect = 0;
    this.campaignID = 0;
    this.adID = 0;
    this.adCode = null;
    this.width = 420;
    this.height = 67;
    
  // initialize the member function references
  this.getStartTime = getStartTime;
  this.setStartTime = setStartTime;
  this.getDuration = getDuration;
  this.setDuration = setDuration;
  this.getStatus = getStatus;
  this.setStatus = setStatus;
  this.getType = getType;
  this.setType = setType;
  this.getLocation = getLocation;
  this.setLocation = setLocation;
  this.getInEffect = getInEffect;
  this.setInEffect = setInEffect;
  this.getOutEffect = getOutEffect;
  this.setOutEffect = setOutEffect;
  this.getClickEffect = getClickEffect;
  this.setClickEffect = setClickEffect;
  this.getCampaignID = getCampaignID;
  this.setCampaignID = setCampaignID;
  this.getAdID = getAdID;
  this.setAdID = setAdID;
  this.getAdCode = getAdCode;
  this.setAdCode =setAdCode;
  this.getWidth = getWidth;
  this.setWidth =setWidth;
  this.getHeight = getHeight;
  this.setHeight =setHeight;
}

function getStartTime()
{
    return this.startTime;
}

function setStartTime(startTime)
{
    this.startTime = startTime;
}

function getDuration()
{
    return this.duration;
}

function setDuration(duration)
{
    this.duration = duration;
}
function getStatus()
{
    return this.status;
}

function setStatus(status)
{
    this.status = status;
}
function getType()
{
    return this.type;
}

function setType(type)
{
    this.type = type;
}
function getLocation()
{
    return this.location;
}

function setLocation(location)
{
    this.location = location;
}
function getInEffect()
{
    return this.inEffect;
}

function setInEffect(inEffect)
{
    this.inEffect = inEffect;
}
function getOutEffect()
{
    return this.outEffect;
}

function setOutEffect(outEffect)
{
    this.outEffect = outEffect;
}

function getClickEffect()
{
    return this.clickEffect;
}

function setClickEffect(clickEffect)
{
    this.clickEffect = clickEffect;
}
function getCampaignID()
{
    return this.campaignID;
}

function setCampaignID(campaignID)
{
    this.campaignID = campaignID;
}
function getAdID()
{
    return this.adID;
}

function setAdID(adID)
{
    this.adID = adID;
}
function getAdCode()
{
 //return"<iframe name='iframeName' id='iframeName' allowtransparency='true' width='420' height='60' marginheight='0' scrolling='no'  frameborder='0' src='http://www.wesell.co.il/user/sz/szShower.php?sz=w1u4mWBzfm3lyyz&secT=0'></iframe>";//this.adCode;
    return this.adCode;
    //return"<script language='javascript' src='http://query.neto.co.il/search.js' type='text/javascript'></script>";
    //return"<iframe name='iframeName' id='iframeName' allowtransparency='true' width='420' height='67' marginheight='0' scrolling='no'  frameborder='0' src='http://player.mvertex.co.il/player/netoAds.htm'></iframe>";
}
function setAdCode(adCode)
{
    this.adCode = adCode;
}

function getWidth ()
{
    return this.width ;
}

function setWidth(width )
{
    this.width  = width;
}
function getHeight()
{
    return this.height;
}

function setHeight(height)
{
    this.height = height;
}


