var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641516&x=3951',
		'title': '',
		'imageId': '69641516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641520&x=3951',
		'title': '',
		'imageId': '69641520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641513&x=3951',
		'title': '',
		'imageId': '69641513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641512&x=3951',
		'title': '',
		'imageId': '69641512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641515&x=3951',
		'title': '',
		'imageId': '69641515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641519&x=3951',
		'title': '',
		'imageId': '69641519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641514&x=3951',
		'title': '',
		'imageId': '69641514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641517&x=3951',
		'title': '',
		'imageId': '69641517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641518&x=3951',
		'title': '',
		'imageId': '69641518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641510&x=3951',
		'title': '',
		'imageId': '69641510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997150&docid=69641511&x=3951',
		'title': '',
		'imageId': '69641511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997150';

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