var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707830&x=1849',
		'title': '',
		'imageId': '69707830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707829&x=1849',
		'title': '',
		'imageId': '69707829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707840&x=1849',
		'title': '',
		'imageId': '69707840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707835&x=1849',
		'title': '',
		'imageId': '69707835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707836&x=1849',
		'title': '',
		'imageId': '69707836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707832&x=1849',
		'title': '',
		'imageId': '69707832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707834&x=1849',
		'title': '',
		'imageId': '69707834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707842&x=1849',
		'title': '',
		'imageId': '69707842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707837&x=1849',
		'title': '',
		'imageId': '69707837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707827&x=1849',
		'title': '',
		'imageId': '69707827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707831&x=1849',
		'title': '',
		'imageId': '69707831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707839&x=1849',
		'title': '',
		'imageId': '69707839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707841&x=1849',
		'title': '',
		'imageId': '69707841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707833&x=1849',
		'title': '',
		'imageId': '69707833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707838&x=1849',
		'title': '',
		'imageId': '69707838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999920&docid=69707828&x=1849',
		'title': '',
		'imageId': '69707828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999920';

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