var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70233789&x=347',
		'title': '',
		'imageId': '70233789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70233790&x=347',
		'title': '',
		'imageId': '70233790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216192&x=347',
		'title': '',
		'imageId': '70216192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216188&x=347',
		'title': '',
		'imageId': '70216188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216189&x=347',
		'title': '',
		'imageId': '70216189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216190&x=347',
		'title': '',
		'imageId': '70216190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216191&x=347',
		'title': '',
		'imageId': '70216191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216193&x=347',
		'title': '',
		'imageId': '70216193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216196&x=347',
		'title': '',
		'imageId': '70216196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216200&x=347',
		'title': '',
		'imageId': '70216200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216204&x=347',
		'title': '',
		'imageId': '70216204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216205&x=347',
		'title': '',
		'imageId': '70216205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216208&x=347',
		'title': '',
		'imageId': '70216208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216211&x=347',
		'title': '',
		'imageId': '70216211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216214&x=347',
		'title': '',
		'imageId': '70216214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216220&x=347',
		'title': '',
		'imageId': '70216220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216221&x=347',
		'title': '',
		'imageId': '70216221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216223&x=347',
		'title': '',
		'imageId': '70216223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216227&x=347',
		'title': '',
		'imageId': '70216227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216231&x=347',
		'title': '',
		'imageId': '70216231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216232&x=347',
		'title': '',
		'imageId': '70216232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216237&x=347',
		'title': '',
		'imageId': '70216237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216238&x=347',
		'title': '',
		'imageId': '70216238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216241&x=347',
		'title': '',
		'imageId': '70216241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216244&x=347',
		'title': '',
		'imageId': '70216244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216247&x=347',
		'title': '',
		'imageId': '70216247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216251&x=347',
		'title': '',
		'imageId': '70216251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216256&x=347',
		'title': '',
		'imageId': '70216256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216260&x=347',
		'title': '',
		'imageId': '70216260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216259&x=347',
		'title': '',
		'imageId': '70216259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216263&x=347',
		'title': '',
		'imageId': '70216263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216265&x=347',
		'title': '',
		'imageId': '70216265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216268&x=347',
		'title': '',
		'imageId': '70216268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216273&x=347',
		'title': '',
		'imageId': '70216273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216274&x=347',
		'title': '',
		'imageId': '70216274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216277&x=347',
		'title': '',
		'imageId': '70216277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216282&x=347',
		'title': '',
		'imageId': '70216282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216283&x=347',
		'title': '',
		'imageId': '70216283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216286&x=347',
		'title': '',
		'imageId': '70216286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216289&x=347',
		'title': '',
		'imageId': '70216289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216292&x=347',
		'title': '',
		'imageId': '70216292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216297&x=347',
		'title': '',
		'imageId': '70216297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216298&x=347',
		'title': '',
		'imageId': '70216298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216301&x=347',
		'title': '',
		'imageId': '70216301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216304&x=347',
		'title': '',
		'imageId': '70216304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216307&x=347',
		'title': '',
		'imageId': '70216307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216312&x=347',
		'title': '',
		'imageId': '70216312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019456&docid=70216313&x=347',
		'title': '',
		'imageId': '70216313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019456';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
