var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776688&x=372',
		'title': '',
		'imageId': '69776688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776693&x=372',
		'title': '',
		'imageId': '69776693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776692&x=372',
		'title': '',
		'imageId': '69776692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776691&x=372',
		'title': '',
		'imageId': '69776691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776695&x=372',
		'title': '',
		'imageId': '69776695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776696&x=372',
		'title': '',
		'imageId': '69776696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776697&x=372',
		'title': '',
		'imageId': '69776697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776698&x=372',
		'title': '',
		'imageId': '69776698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776703&x=372',
		'title': '',
		'imageId': '69776703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776705&x=372',
		'title': '',
		'imageId': '69776705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776706&x=372',
		'title': '',
		'imageId': '69776706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035411&docid=69776707&x=372',
		'title': '',
		'imageId': '69776707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035411';

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