var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=919733&docid=7356515&x=1315',
		'title': '',
		'imageId': '7356515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=919733&docid=7356518&x=1315',
		'title': '',
		'imageId': '7356518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=919733&docid=7356521&x=1315',
		'title': '',
		'imageId': '7356521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=919733&docid=7356524&x=1315',
		'title': '',
		'imageId': '7356524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=919733&docid=7356527&x=1315',
		'title': '',
		'imageId': '7356527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=919733&docid=7356530&x=1315',
		'title': '',
		'imageId': '7356530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=919733&docid=7356534&x=1315',
		'title': '',
		'imageId': '7356534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=919733&docid=7356537&x=1315',
		'title': '',
		'imageId': '7356537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=919733&docid=7359780&x=1315',
		'title': '',
		'imageId': '7359780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=919733&docid=7359787&x=1315',
		'title': '',
		'imageId': '7359787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #919733';

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