var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797433&x=811',
		'title': '',
		'imageId': '69797433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797434&x=811',
		'title': '',
		'imageId': '69797434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797435&x=811',
		'title': '',
		'imageId': '69797435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797436&x=811',
		'title': '',
		'imageId': '69797436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797437&x=811',
		'title': '',
		'imageId': '69797437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797438&x=811',
		'title': '',
		'imageId': '69797438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797439&x=811',
		'title': '',
		'imageId': '69797439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797440&x=811',
		'title': '',
		'imageId': '69797440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797441&x=811',
		'title': '',
		'imageId': '69797441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797442&x=811',
		'title': '',
		'imageId': '69797442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797443&x=811',
		'title': '',
		'imageId': '69797443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797444&x=811',
		'title': '',
		'imageId': '69797444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797445&x=811',
		'title': '',
		'imageId': '69797445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797446&x=811',
		'title': '',
		'imageId': '69797446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797447&x=811',
		'title': '',
		'imageId': '69797447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797448&x=811',
		'title': '',
		'imageId': '69797448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797449&x=811',
		'title': '',
		'imageId': '69797449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797450&x=811',
		'title': '',
		'imageId': '69797450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797451&x=811',
		'title': '',
		'imageId': '69797451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797452&x=811',
		'title': '',
		'imageId': '69797452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797453&x=811',
		'title': '',
		'imageId': '69797453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797454&x=811',
		'title': '',
		'imageId': '69797454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797455&x=811',
		'title': '',
		'imageId': '69797455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797456&x=811',
		'title': '',
		'imageId': '69797456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797457&x=811',
		'title': '',
		'imageId': '69797457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797458&x=811',
		'title': '',
		'imageId': '69797458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797459&x=811',
		'title': '',
		'imageId': '69797459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797460&x=811',
		'title': '',
		'imageId': '69797460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797461&x=811',
		'title': '',
		'imageId': '69797461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797462&x=811',
		'title': '',
		'imageId': '69797462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797463&x=811',
		'title': '',
		'imageId': '69797463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797464&x=811',
		'title': '',
		'imageId': '69797464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797465&x=811',
		'title': '',
		'imageId': '69797465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797466&x=811',
		'title': '',
		'imageId': '69797466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797467&x=811',
		'title': '',
		'imageId': '69797467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003536&docid=69797468&x=811',
		'title': '',
		'imageId': '69797468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003536';

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