var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358003&x=550',
		'title': '',
		'imageId': '69358003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358004&x=550',
		'title': '',
		'imageId': '69358004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358005&x=550',
		'title': '',
		'imageId': '69358005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358006&x=550',
		'title': '',
		'imageId': '69358006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358008&x=550',
		'title': '',
		'imageId': '69358008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358009&x=550',
		'title': '',
		'imageId': '69358009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358010&x=550',
		'title': '',
		'imageId': '69358010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358012&x=550',
		'title': '',
		'imageId': '69358012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358013&x=550',
		'title': '',
		'imageId': '69358013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358014&x=550',
		'title': '',
		'imageId': '69358014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358016&x=550',
		'title': '',
		'imageId': '69358016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358018&x=550',
		'title': '',
		'imageId': '69358018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358020&x=550',
		'title': '',
		'imageId': '69358020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358022&x=550',
		'title': '',
		'imageId': '69358022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358023&x=550',
		'title': '',
		'imageId': '69358023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358026&x=550',
		'title': '',
		'imageId': '69358026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358027&x=550',
		'title': '',
		'imageId': '69358027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358028&x=550',
		'title': '',
		'imageId': '69358028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358029&x=550',
		'title': '',
		'imageId': '69358029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358030&x=550',
		'title': '',
		'imageId': '69358030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358031&x=550',
		'title': '',
		'imageId': '69358031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358032&x=550',
		'title': '',
		'imageId': '69358032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984201&docid=69358033&x=550',
		'title': '',
		'imageId': '69358033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984201';

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