var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351490&x=4331',
		'title': '',
		'imageId': '70351490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351492&x=4331',
		'title': '',
		'imageId': '70351492',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351491&x=4331',
		'title': '',
		'imageId': '70351491',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351489&x=4331',
		'title': '',
		'imageId': '70351489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351488&x=4331',
		'title': '',
		'imageId': '70351488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351508&x=4331',
		'title': '',
		'imageId': '70351508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351487&x=4331',
		'title': '',
		'imageId': '70351487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351513&x=4331',
		'title': '',
		'imageId': '70351513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351512&x=4331',
		'title': '',
		'imageId': '70351512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351511&x=4331',
		'title': '',
		'imageId': '70351511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351514&x=4331',
		'title': '',
		'imageId': '70351514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351515&x=4331',
		'title': '',
		'imageId': '70351515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351520&x=4331',
		'title': '',
		'imageId': '70351520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351523&x=4331',
		'title': '',
		'imageId': '70351523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351536&x=4331',
		'title': '',
		'imageId': '70351536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351532&x=4331',
		'title': '',
		'imageId': '70351532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351537&x=4331',
		'title': '',
		'imageId': '70351537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351538&x=4331',
		'title': '',
		'imageId': '70351538',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351539&x=4331',
		'title': '',
		'imageId': '70351539',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351535&x=4331',
		'title': '',
		'imageId': '70351535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351552&x=4331',
		'title': '',
		'imageId': '70351552',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351553&x=4331',
		'title': '',
		'imageId': '70351553',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351566&x=4331',
		'title': '',
		'imageId': '70351566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351569&x=4331',
		'title': '',
		'imageId': '70351569',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351568&x=4331',
		'title': '',
		'imageId': '70351568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351567&x=4331',
		'title': '',
		'imageId': '70351567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351576&x=4331',
		'title': '',
		'imageId': '70351576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351579&x=4331',
		'title': '',
		'imageId': '70351579',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351584&x=4331',
		'title': '',
		'imageId': '70351584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025854&docid=70351497&x=4331',
		'title': '',
		'imageId': '70351497',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4025854';

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";
	})
}
