var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239960&x=333',
		'title': '',
		'imageId': '69239960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239967&x=333',
		'title': '',
		'imageId': '69239967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239958&x=333',
		'title': '',
		'imageId': '69239958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239954&x=333',
		'title': '',
		'imageId': '69239954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239961&x=333',
		'title': '',
		'imageId': '69239961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239968&x=333',
		'title': '',
		'imageId': '69239968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239962&x=333',
		'title': '',
		'imageId': '69239962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239964&x=333',
		'title': '',
		'imageId': '69239964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239955&x=333',
		'title': '',
		'imageId': '69239955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239953&x=333',
		'title': '',
		'imageId': '69239953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239969&x=333',
		'title': '',
		'imageId': '69239969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239957&x=333',
		'title': '',
		'imageId': '69239957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239959&x=333',
		'title': '',
		'imageId': '69239959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239956&x=333',
		'title': '',
		'imageId': '69239956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239952&x=333',
		'title': '',
		'imageId': '69239952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239966&x=333',
		'title': '',
		'imageId': '69239966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239965&x=333',
		'title': '',
		'imageId': '69239965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239970&x=333',
		'title': '',
		'imageId': '69239970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239963&x=333',
		'title': '',
		'imageId': '69239963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979245&docid=69239971&x=333',
		'title': '',
		'imageId': '69239971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979245';

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