var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762816&x=4538',
		'title': '',
		'imageId': '67762816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762795&x=4538',
		'title': '',
		'imageId': '67762795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762809&x=4538',
		'title': '',
		'imageId': '67762809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762793&x=4538',
		'title': '',
		'imageId': '67762793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762805&x=4538',
		'title': '',
		'imageId': '67762805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762813&x=4538',
		'title': '',
		'imageId': '67762813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762814&x=4538',
		'title': '',
		'imageId': '67762814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762796&x=4538',
		'title': '',
		'imageId': '67762796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762804&x=4538',
		'title': '',
		'imageId': '67762804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762811&x=4538',
		'title': '',
		'imageId': '67762811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762808&x=4538',
		'title': '',
		'imageId': '67762808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762792&x=4538',
		'title': '',
		'imageId': '67762792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762802&x=4538',
		'title': '',
		'imageId': '67762802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762797&x=4538',
		'title': '',
		'imageId': '67762797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762794&x=4538',
		'title': '',
		'imageId': '67762794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762815&x=4538',
		'title': '',
		'imageId': '67762815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762801&x=4538',
		'title': '',
		'imageId': '67762801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762800&x=4538',
		'title': '',
		'imageId': '67762800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762803&x=4538',
		'title': '',
		'imageId': '67762803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762810&x=4538',
		'title': '',
		'imageId': '67762810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762807&x=4538',
		'title': '',
		'imageId': '67762807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762799&x=4538',
		'title': '',
		'imageId': '67762799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907265&docid=67762812&x=4538',
		'title': '',
		'imageId': '67762812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3907265';

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