var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538578&x=4841',
		'title': '',
		'imageId': '69538578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538592&x=4841',
		'title': '',
		'imageId': '69538592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538593&x=4841',
		'title': '',
		'imageId': '69538593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538589&x=4841',
		'title': '',
		'imageId': '69538589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538583&x=4841',
		'title': '',
		'imageId': '69538583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538591&x=4841',
		'title': '',
		'imageId': '69538591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538590&x=4841',
		'title': '',
		'imageId': '69538590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538586&x=4841',
		'title': '',
		'imageId': '69538586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538580&x=4841',
		'title': '',
		'imageId': '69538580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538588&x=4841',
		'title': '',
		'imageId': '69538588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538584&x=4841',
		'title': '',
		'imageId': '69538584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538577&x=4841',
		'title': '',
		'imageId': '69538577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538585&x=4841',
		'title': '',
		'imageId': '69538585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538581&x=4841',
		'title': '',
		'imageId': '69538581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538582&x=4841',
		'title': '',
		'imageId': '69538582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538575&x=4841',
		'title': '',
		'imageId': '69538575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538579&x=4841',
		'title': '',
		'imageId': '69538579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538576&x=4841',
		'title': '',
		'imageId': '69538576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992205&docid=69538587&x=4841',
		'title': '',
		'imageId': '69538587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992205';

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