var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024638&x=4714',
		'title': '',
		'imageId': '69024638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024656&x=4714',
		'title': '',
		'imageId': '69024656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024653&x=4714',
		'title': '',
		'imageId': '69024653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024640&x=4714',
		'title': '',
		'imageId': '69024640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024659&x=4714',
		'title': '',
		'imageId': '69024659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024654&x=4714',
		'title': '',
		'imageId': '69024654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024661&x=4714',
		'title': '',
		'imageId': '69024661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024657&x=4714',
		'title': '',
		'imageId': '69024657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024660&x=4714',
		'title': '',
		'imageId': '69024660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024658&x=4714',
		'title': '',
		'imageId': '69024658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024649&x=4714',
		'title': '',
		'imageId': '69024649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024639&x=4714',
		'title': '',
		'imageId': '69024639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024651&x=4714',
		'title': '',
		'imageId': '69024651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024648&x=4714',
		'title': '',
		'imageId': '69024648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024650&x=4714',
		'title': '',
		'imageId': '69024650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024652&x=4714',
		'title': '',
		'imageId': '69024652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024641&x=4714',
		'title': '',
		'imageId': '69024641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024643&x=4714',
		'title': '',
		'imageId': '69024643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024646&x=4714',
		'title': '',
		'imageId': '69024646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024647&x=4714',
		'title': '',
		'imageId': '69024647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024644&x=4714',
		'title': '',
		'imageId': '69024644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024642&x=4714',
		'title': '',
		'imageId': '69024642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024645&x=4714',
		'title': '',
		'imageId': '69024645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970246&docid=69024655&x=4714',
		'title': '',
		'imageId': '69024655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970246';

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